Reputation: 3774
I have a div with Css Class : display:none and inside the DIV there is asp.net button, when the DIV is slided down and the button inside it is clicked , the DIV is in return slided up,
I want to keep this DIV shown after cilcking on the asp.net button . how ?
Upvotes: 0
Views: 1213
Reputation: 107267
What you could do is make the div runat=server, and then conditionally set the display=none
attribute only when !IsPostBack
.
Upvotes: 1