RadTreeView - Ajax - Partial followed by a full postback

4 posts, 0 answers
  1. Deepa Balasundaram
    Deepa Balasundaram avatar
    34 posts
    Member since:
    Jul 2009

    Posted 30 Jan 2015 Link to this post

    I am using RadTreeView in a ascx which is embedded in a master page. A content page (aspx) that uses this master page has a RadGrid. Both RadTreeView and RadGrid are ajaxified using RadAjaxManager. When I expand the Tree View, partial post back occurs and I loading node on-demand server-side. But when I click on a tree node, partial post-back occurs followed by a full post-back. What can I do to prevent the full post back from occuring?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 04 Feb 2015 Link to this post

    Hi Deepa,

    Try modifying the TreeView Nodes expand mode like this:
    <telerik:RadTreeView>
                <Nodes>
                    <telerik:RadTreeNode ExpandMode="ServerSide"></telerik:RadTreeNode>
                </Nodes>
            </telerik:RadTreeView>
     and see how it goes.



    Regards,
    Maria Ilieva
    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
  4. Deepa Balasundaram
    Deepa Balasundaram avatar
    34 posts
    Member since:
    Jul 2009

    Posted 04 Feb 2015 in reply to Maria Ilieva Link to this post

    Thanks Maria. All of the TreeNodes had that property set to ServerSide. The issue was I was setting NavigationUrl value and also handling the NodeClick event. Once I commented out the NavigationUrl property, the full post-backs stopped occurring. 
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 05 Feb 2015 Link to this post

    Hello,

    Thank you for getting back to us and for the provided updates on this case. We are glad that you were able to fix the issue on your end. Do not hesitate to contact us back in case further assistance is needed.

    Regards,
    Maria Ilieva
    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.

     
Back to Top