Click here to Skip to main content
15,886,091 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwill atlas solve it ??? Pin
jagmit203-Sep-06 21:26
jagmit203-Sep-06 21:26 
Questionauto unzip files to local machine Pin
kodulkar_nilesh3-Sep-06 21:26
kodulkar_nilesh3-Sep-06 21:26 
AnswerRe: auto unzip files to local machine Pin
Suresh Pirsquare4-Sep-06 0:05
Suresh Pirsquare4-Sep-06 0:05 
QuestionUser controls' problem Pin
arunpnair3-Sep-06 20:56
arunpnair3-Sep-06 20:56 
AnswerRe: User controls' problem Pin
Guffa3-Sep-06 21:12
Guffa3-Sep-06 21:12 
Questionhow can i retreive list of stored logon (username) information? Pin
Saeed80803-Sep-06 20:42
Saeed80803-Sep-06 20:42 
QuestionSelecting Images in aspx page Pin
psmukil3-Sep-06 20:27
psmukil3-Sep-06 20:27 
QuestionPersisting expanded/collapsed state of TreeView - how? Pin
nzmike3-Sep-06 19:09
nzmike3-Sep-06 19:09 
Hi all,

I have a TreeView control in a C# ASP.Net 2.0 project and (so far) have not been able to work out how to persist the state of the expanded/collapsed nodes between postbacks. At present, whenever the page comes back from a postback all nodes are expanded instead of just the ones the user physically expanded. Is this functionality available as part of the standard treeview or does the developer need to write it?

I found Tom John's article (http://www.codeproject.com/vb/net/TreeViewDataAccess.asp) regarding serializing the state of the TreeView but I still find it hard to believe the ASP.Net control does not cater for this in some way itself.... am I missing something simple?

TIA for any help/suggestions etc.

Mike
AnswerRe: Persisting expanded/collapsed state of TreeView - how? Pin
minhpc_bk4-Sep-06 15:20
minhpc_bk4-Sep-06 15:20 
QuestionUS asp.net & MS SQL hosting companies ? Pin
digsy_3-Sep-06 14:10
digsy_3-Sep-06 14:10 
QuestionStoreing hidden fields in a page for javascript to access Pin
hslew3-Sep-06 10:42
hslew3-Sep-06 10:42 
AnswerRe: Storeing hidden fields in a page for javascript to access Pin
Guffa3-Sep-06 11:53
Guffa3-Sep-06 11:53 
QuestionProgramatically parsing & extracting body of an HTML file Pin
Dsypher3-Sep-06 8:25
Dsypher3-Sep-06 8:25 
QuestionASP.net 2.0 detailsview insert problem Pin
aharrisreid3-Sep-06 7:44
aharrisreid3-Sep-06 7:44 
QuestionAsp.net on the internet Pin
Marco_Hans3-Sep-06 7:34
Marco_Hans3-Sep-06 7:34 
Questionhot to get a runtime control during design time Pin
MarcoPan3-Sep-06 7:14
MarcoPan3-Sep-06 7:14 
AnswerRe: hot to get a runtime control during design time Pin
MarcoPan3-Sep-06 7:22
MarcoPan3-Sep-06 7:22 
QuestionExchange schema and Contact Category Pin
worky3-Sep-06 3:50
worky3-Sep-06 3:50 
Questionrefresh Pin
fouad8882-Sep-06 21:23
fouad8882-Sep-06 21:23 
AnswerRe: refresh Pin
Guffa3-Sep-06 0:10
Guffa3-Sep-06 0:10 
Questionproject i need Pin
ArjunJadeja2-Sep-06 20:56
ArjunJadeja2-Sep-06 20:56 
AnswerRe: project i need Pin
Colin Angus Mackay2-Sep-06 22:23
Colin Angus Mackay2-Sep-06 22:23 
QuestionEnter Pin
Socheat.Net2-Sep-06 16:18
Socheat.Net2-Sep-06 16:18 
AnswerRe: Enter Pin
Guffa3-Sep-06 0:06
Guffa3-Sep-06 0:06 
QuestionDropDownlist inside GridView Pin
vct2-Sep-06 10:08
vct2-Sep-06 10:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.