We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

TreeView as web site navagation panel issues

We are currently using a treeview control (4.x) as a navigation pane in an asp.net application that has brought up a few issues.

BACKGROUND - Our site has a default.aspx page that includes logo, menus and a treeview (used as site navigation). So far we have hooked up the loading of the tree (programatically). Clicking on the items in the tree causes the main workarea (an iFrame) to load the appropriate information. When an item is selected, the item selected has it's highlight color set to give visual feedback.

ISSUES -
1. some actions in the site redirect the user to other pages and we need to change the selected item in the tree. If we simply reload the default page - the workspace would also reload / reset.

Q: How do I cause the selection to change / refresh without reloading the entire page?

2. some actions in the main work pages add / remove items in the data behind the tree.

Q: How do we force the tree to redisplay and still maintain the current state of open/closed for each branch of the tree?


1 Reply

AD Administrator Syncfusion Team November 28, 2006 01:41 AM UTC

Hi Bob,
Using callback panel, TreeView Node selection can be changed/refreshed without reloading the entire page.
By default,Treeview can maintain its state while Adding/Removing the TreeView Nodes.In this sample,On clicking the 'Click to Add Child' node will add a child node by making callback.
This sample is created with our latest Beta version(v4.4.0.46).

TreeViewWithIframe.zip
Please let me know if you need further assistance.

Regards,
Sureshsekaran.

Loader.
Live Chat Icon For mobile
Up arrow icon