Reposition Control

M

Mike

Hi,

Is it possible to have a control on a form set to visible=false at the beginning and then move it to a specific location when required? If so, any resources (articles, samples) that I could look at?

Thanks.
Mike
 
G

Guest

You can not do this by setting visible=false. When you set a server side control's visibility to false, the control is not rendered to the browser. It state is stored in viewstate, but the control does not exist in the HTML markup. Thus you can not access it through javascript or DHTML to move it around.

hope this helps,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top