Click here to Skip to main content
Rate this: bad
good
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 at 19-Dec-12 8:55am
   
SO ????
Abhishek Pant at 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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 895
1 OriginalGriff 523
2 thatraja 245
3 Abhinav S 243
4 Emre Ataseven 200
0 Sergey Alexandrovich Kryukov 8,142
1 OriginalGriff 4,665
2 Peter Leow 3,774
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid