Reposition Control

  • Thread starter Thread starter Mike
  • Start date Start date
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
 
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
 
Back
Top