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.NodeClick += new RadTreeViewEventHandler(treeView_NodeClick);

    Could someone please help me.

  2. Plamen
    Plamen avatar
    3031 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.

    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