How to prevent a TreeView to lose its expanded/collapsed state as

D

DG78

Hello,

I have a question about the catalog of an E-commerce website I am doing.
A page Catalog.aspx uses a MasterPage (MasterPage.master).
Two UserControls (DepartmentsList.ascx and ProductsList.ascx) are in two
Content sections of Catalog.aspx.

DepartmentsList.ascx contains a TreeView that is populated on demand from a
database.
The NavigateUrl property of each node of the TreeView is set on demand.
A click on a node redirects the user to a new page that contains the
appropriate data in the UserControl ProductsList.ascx. .
The problem is that the entire TreeView in DepartmentsList.ascx collapses.
What to do to avoid that? Should I use AJAX? Could you please show me an
example?

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top