I have 2 selects and treeview.
TreeView rebuilds when any of selects are changed.
But treeview looses all styling on postback when click treeview node.
I wonder how to keep treeView styles?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You might have forgotten the EnableViewState property
treeview1.EnableViewState = True
See http://msdn.microsoft.com/en-us/library/system.web.ui.control.enableviewstate.aspx