Node expand causes page refresh

2 posts, 0 answers
  1. Jerry
    Jerry avatar
    41 posts
    Member since:
    Mar 2012

    Posted 25 Apr 2014 Link to this post

    Hello,

    I'm using a radtreeview that is being populated by my database.  On initial load it loads the starting options. When a node is expended the the _NodeExpand event is fired.  This populates the next level of nodes.  Some of these nodes have checkbox code within the html that is loaded.  That all displays and works fine until I go to a different starting option node and expand it.  This cases the page to reload and my checkboxes disappear but the original nodes are expanded.  How can I prevent the reloading of this page so my users can open all different nodes and see the checkboxes?  

    Thank you
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 30 Apr 2014 Link to this post

    Hello,

    Thank you for contacting Telerik Support.

    I would like to clarify that we are not aware of such issue. Could you please clarify whether you are applying template at run-time? If yes - could you please share how exactly you are applying the the templates to the nodes added in the node expand server-side event handler and whether you are applying the template to all existing nodes in the Page_Load event handler as shown in this help article.

    If you are not using templates then I assume that you simply set the RadTreeView Checkboxes property to true. In this case reloading the page should not affect to the check boxes. For reference I attached a sample project that has the RadTreeView Checkboxes enabled and implements very similar scenario.

    Hope that this will be helpful.


    Regards,
    Boyan Dimitrov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top