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

RadTreeView - Ajax - Partial followed by a full postback

3 Answers 92 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Deepa Balasundaram
Top achievements
Rank 1
Deepa Balasundaram asked on 31 Jan 2015, 12:39 AM
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?

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 Feb 2015, 09:02 AM
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.

 
0
Deepa Balasundaram
Top achievements
Rank 1
answered on 04 Feb 2015, 08:34 PM
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. 
0
Maria Ilieva
Telerik team
answered on 05 Feb 2015, 03:14 PM
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.

 
Tags
Ajax
Asked by
Deepa Balasundaram
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Deepa Balasundaram
Top achievements
Rank 1
Share this question
or