title: Keep client side class changes between ASP.Net postbacks?
body: <p>I'm dynamically binding tables and sub tables using nested listviews. On the client side I have a piece of jQuery that is toggling the visiblity of TRs witin the tables in order to provide a group expand / contract view option.</p>
  
  <p>On postback I'm obviously loosing my class changes that I have applied via jQuery. I'm wondering what the best approach to maintaining these client side class changes is? I've considered creating a hidden input control per table to store the indexes of the visible TRs at the time of expanding them. The intention being to then look for the indexes during postback / rebinding and add the visible classes to each corresponding element.</p>
  
  <p>Is there a better approach or some native method of passing back the client side style / class change to the server during postbacks? </p>