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

How to make a tree view like frameset click?

2 Answers 53 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Stephen Lam
Top achievements
Rank 1
Stephen Lam asked on 04 Mar 2010, 04:51 AM
Dear all,
I have just bough the whole package of telerik and I think they should be good to go in my project :)

My question is, in asp.net treeview control, there is a property call "NavigateUrl" and if u click on it, it will redirect to another page with whole page refresh, and then the state of treeview is clean.I know the answer is the new page is a link, so it would be considered as a new page. How does this radcontrol to handle this saturation? Such as saving the treeview state, and click on the node with no refreshing...I know there is multipage of radcontrol, but I think that will be preloaded all of my pages in multopage, so it will slow down the process...

Please advice, thx.

Best regards,
Stephen

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 09 Mar 2010, 08:35 AM
Hi Stephen,

RadTreeView has a pair of properties to handle such scenarios - GetXml() and LoadXmlString(). You can save the state with the first method, pass data to the other page and recreate the treeview using the second method. Here is a kb on how to pass data across pages:

http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx


All the best,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
robertw102
Top achievements
Rank 1
answered on 09 Mar 2010, 04:39 PM
If you want to use RadMultiPage and don't want all the pages to be sent to the client, causing the slow down, you just set RenderSelectedPageOnly="true", and only the selected page will be sent to the client.
Tags
TreeView
Asked by
Stephen Lam
Top achievements
Rank 1
Answers by
Peter
Telerik team
robertw102
Top achievements
Rank 1
Share this question
or