Click here to Skip to main content
12,350,030 members (25,480 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
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 19-Dec-12 2:51am
Comments
Krunal Rohit 19-Dec-12 8:55am
   
SO ????
Abhishek Pant 19-Dec-12 8:59am
   
Please improve your question!

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100