HtmlTextBox control ?

  • Thread starter Thread starter Thomas McFarlane
  • Start date Start date
T

Thomas McFarlane

I am trying to use a textBox control from the HTML tab within the VS.Net IDE
designer. How do I reference this control (ie. txtMyName.Value). The
FindControl does not find it because it is an HTML control, not a SAP.Net
Webform control.

Thanks

Tom
 
Tom,

If you want to access the control on server, add attributes runat=server and
id. Then you can access it just by id.

Eliyahu
 
Thanks Eliyahu. That works perfect!
Tom

Eliyahu Goldin said:
Tom,

If you want to access the control on server, add attributes runat=server
and
id. Then you can access it just by id.

Eliyahu
 
Back
Top