This is a migrated thread and some comments may be shown as answers.

TreeNode click without post back

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Puneet Minhas
Top achievements
Rank 1
Puneet Minhas asked on 03 Feb 2010, 01:37 PM
Hi,

We have a telerik tree view which is generated dynamically. On a node click, the canvas in the middle of the page is loaded with a user control. When a node is clicked from the tree view, the whole page posts back and the screen freezes till the user control is loaded.
What we want is that the node click should not post back, but the click event needs to be fired.
Could anyone please tell a way of achieving the same?

Please note that the treeview is also contained in a user control and the page containing all these user controls already has  <telerik:RadAjaxManager> registered on it.

Thanks & Regards,
Puneet.

1 Answer, 1 is accepted

Sort by
0
André Freitas
Top achievements
Rank 1
answered on 03 Feb 2010, 05:27 PM
I dont know if it ll work, try it:

RadAjaxManager.AjaxSettings.AddAjaxSetting(

MyUserControl1.FindControl("RadTreeView"));

Something like that.

Tags
TreeView
Asked by
Puneet Minhas
Top achievements
Rank 1
Answers by
André Freitas
Top achievements
Rank 1
Share this question
or