468,532 Members | 1,830 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,532 developers. It's quick & easy.

Div element visibility

Hi,
By default Div element is invisible. Clicking on label it made as visible. i have textbox fields in div element.. while server side validation i want to make div element as visible.. but in postback it again made as invisible.. but it should be visible for me.. Help me..

thanks & regards
prakash
Sep 26 '08 #1
2 1069
Try with this

replace Div with div tag server id

Div.Style["visibility"] = "visible";
Div.Style["visibility"] = "hidden";
Sep 26 '08 #2
Try with this

replace Div with div tag server id

Div.Style["visibility"] = "visible";
Div.Style["visibility"] = "hidden";
Hi adityakoppolu,
I made visibility hidden in not ispostback. In click event i made visible the div element.. Thank you

Prakash
Sep 26 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Rithish | last post: by
8 posts views Thread by Steve Macleod | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.