Click here to Skip to main content
15,843,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a nested gridview that is using javascript to expand and contract parent rows to show child rows. The problem is that if I do a postback or refresh the gridview collapses.
Posted
Comments
[no name] 19-Dec-12 8:55am    
SO ????
Abhishek Pant 19-Dec-12 8:59am    
Please improve your question!

1 solution

Try to save the state of the expanded/collapsed rows in a cookie everytime the row visibility changes if that option is available - meaning if cookies are enabled onthe client computer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900