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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeView as web site navagation panel issues

Thread ID:

Created:

Updated:

Platform:

Replies:

52376 Nov 27,2006 09:48 PM UTC Nov 28,2006 01:41 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Bob Lake
Asked On November 27, 2006 09:48 PM UTC

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?


Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;