TreeNode click without post back

2 posts, 0 answers
  1. Puneet Minhas
    Puneet Minhas avatar
    5 posts
    Member since:
    Feb 2010

    Posted 03 Feb 2010 Link to this post

    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.
  2. André Freitas
    André Freitas avatar
    23 posts
    Member since:
    Feb 2010

    Posted 03 Feb 2010 Link to this post

    I dont know if it ll work, try it:

    RadAjaxManager.AjaxSettings.AddAjaxSetting(

    MyUserControl1.FindControl("RadTreeView"));

    Something like that.

Back to Top