This is a migrated thread and some comments may be shown as answers.
Treeview NodeClick event not firing
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
Rajeev
Top achievements
Rank 1
Rajeev asked on 19 Jul 2011, 07:46 PM
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

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 22 Jul 2011, 03:48 PM
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!

Asked by
Rajeev
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or