|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to keep state of treeview controlHello,
I've created a web application using Visual Studio 2005. I have a treeview control there. When the user expands it and clicks on the link, the treeview collapses automatically. Is it possible to keep it expanded to the level the user expanded it? In other words, to keep the state of the treeview control between postbacks? Of course I can use frames or something like this, but it should be an easier way to do this. I would appreciate your advice. Thank you, -- Peter Afonin Is ViewState enabled for the treeview?
Sean Peter Afonin wrote: Show quoteHide quote > Hello, > > I've created a web application using Visual Studio 2005. I have a treeview > control there. When the user expands it and clicks on the link, the treeview > collapses automatically. > > Is it possible to keep it expanded to the level the user expanded it? In > other words, to keep the state of the treeview control between postbacks? Of > course I can use frames or something like this, but it should be an easier > way to do this. > > I would appreciate your advice. > > Thank you, > > -- > Peter Afonin Yes, it is.
Peter Show quoteHide quote "Sean Chambers" <dko***@gmail.com> wrote in message news:1158724240.953873.58790@e3g2000cwe.googlegroups.com... > Is ViewState enabled for the treeview? > > Sean > > Peter Afonin wrote: >> Hello, >> >> I've created a web application using Visual Studio 2005. I have a >> treeview >> control there. When the user expands it and clicks on the link, the >> treeview >> collapses automatically. >> >> Is it possible to keep it expanded to the level the user expanded it? In >> other words, to keep the state of the treeview control between postbacks? >> Of >> course I can use frames or something like this, but it should be an >> easier >> way to do this. >> >> I would appreciate your advice. >> >> Thank you, >> >> -- >> Peter Afonin >
Control of a map where the user can click and drag to select an area...
OnDocumentReady with Treeview HTC (in a popup) Failed validation doesn't stop page from posting back Binding Typed datasets to grid controls in designer Validation Summary Control does not apprear A Repeater Question. gridview with hyperlinkfield Slow menu control in IE with large grid, fast is FF Bulk export to Excel and force print ObjectDataSource & Typed Dataset Can not update. |
|||||||||||||||||||||||