473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

AJAX Treeview How to keep expanded nodes expanded during AJAX postback

ton
Hi,

In my website the treeview is placed in the update panel of AJAX. Clicking
on the nodes, the server side code is getting the childnotes and shows the
details on the right site of the treeview. just like an normal exploere
would do. After clicking on several nodes, I'll got deeper in the tree and
after a while, the right site shows the correct information, but the tree is
collapsed on a arbitrairy node. I can't figure out whats happening.

Another situation is that an node which was collapsed by the user is again
expanded, and another node is collapsed.

Does anyone got an idea. I do not handle clientscript after the click

How can I maintain the expanded/collapsed state.

Thanks
ton

Nov 13 '08 #1
0 1908

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pål Andreassen | last post by:
We are using a TreeView defined in a MasterPage for navigation. The tree holds it's state turing postbacks just fine since it's using viewstate. But whenever a node click results in a redirect to a...
2
by: Dirk | last post by:
Hi, I am using a TreeView in an ASP.NET application where I have my nodes update on demand. When I expand a node that has no children and then add a child in my datasource and expand the node...
1
by: kvicky | last post by:
I am trying to load child nodes to a TreeNode in a TreeView in a ASP.net web application. The Treeview with parent nodes are loaded on a Page_load while doing if( ! ISPostback ) and then in the...
1
by: Tim.Forbess | last post by:
During a postback event from the treeview control I try to update a label's text. The code is called in the event handler for OnTreeNodePopulate but the label text isn't updated when the page...
0
by: JJ | last post by:
I need to rebuild/redraw a treeview, following some user actions on the files/folders that the treeview is displaying (renaming or adding/deleting folders/files). When these actions take place I...
26
by: JJ | last post by:
Is there any way you can expand a parent node on the treeview control _without a postback_ by clicking on the node text (NOT clicking the expand image URL) ? I want to format the treeview node...
2
by: casManG | last post by:
I am working on a small project that uses the treeview control in vb.net 2003. I have a tree view that I am sending to a sub in order to iterate through the nodes. Public Sub test (ByVal...
0
by: wesdev | last post by:
I have a .htm page which has the IE treeview - to be used client side only. <treeview:TREEVIEW id="UnitTreeView" systemImagesPath="webctrl_client/1_0/treeimages/" selectExpands="true"...
6
by: =?Utf-8?B?ZHNoZW1lc2g=?= | last post by:
Hello, I have a windows form with a TreeView control. When I first open the tree all nodes are colapsed. Then, I expand some of them and close the form. When I call Form.showDialog() once again...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.