Dynamically created divs get hidden after postback
<p>I have several divs in a nested gridview which are bound to att runtime with the command div id="div&lt;%# Eval("id") %>". I then set the visibilty of the div via javascript. The problem is that the visibilty setting isnt retained between postbacks. (Im using a filter feature that filters the rows in the nested gridview). </p>

<p>How can I retain the visibilty settings for all the divs created dynamically? (Could be up to fifty divs.)</p>
