Author: mittalpa | Posted on: 8/10/2003 8:33:23 PM | Views : 505

Hi Gurus,
I am using a DIV tag aspx page and setting its style="DISPLAY:none", which hides it.

With first button click, I set style.display = '' using javascript, which makes it visible.
Now with 2nd button click, I try to pick up its style.display value during postback, in code-behind. Its gives me style="DISPLAY:none", means invisible, which is incorrect. It should show as visible element because I Set it to visible by first button click.

I don't know why it is doing that. Can someone reason this? As I need to know that the div tag is visible in code-behind. Please advice. Thanks

Pankaj ...

Go to the complete details ...