You must Sign In to post a response.
  • Category: JavaScript

    How to maintain a state of a Expand/Collapse of a column for a gridview

    i created a custom control which will do expand/collapse of a column on click of a particular column
    My problem is when i clicked on cloumn the hidden columns got expanded
    when i do paging it goes to the deafult state of the page it does not shows the hidden columns
  • #329391
    Mintaing status in viewstate varible

  • #329397
    When you call expand and collect's then it's current status store in
    Viewstate
    and again check is viewstate is nothing then store if there is in viewstate then use that value.


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.