Treeview NodeClick event not firing

2 posts, 0 answers
  1. Rajeev
    Rajeev avatar
    12 posts
    Member since:
    Jun 2010

    Posted 19 Jul 2011 Link to this post

    Hello All,

    I have created a tree dynamically. CreateTreeView() is called in createchildcontorls and I am populating the tree in PreRender.
    When I click on any tree node, the page just postbacks but NodeClick event is not firing. \

    private void CreateTreeView()
    {
    treeViewPane.ID = "TreeViewPane";
    treeViewPane.Width = new Unit("150px");
    treeView = new RadTreeView();
    treeView.Nodes.Clear();
    treeView.NodeClick += new RadTreeViewEventHandler(treeView_NodeClick);
    treeViewPane.Controls.Add(treeView);
    }

    Could someone please help me.

    Regards
    Rajeev
  2. Plamen
    Admin
    Plamen avatar
    2968 posts

    Posted 22 Jul 2011 Link to this post

    Hello Rajeev,

    We inspected your code, but couldn't reproduce the problem.
    Would you please send try to isolate the problem in a sample project and send it us via support ticket so we can be more helpful.

    Regards,
    Plamen Zdravkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top