HTML server control in .CS

  • Thread starter Thread starter vinodkus
  • Start date Start date
Can any one tell me how an html server control can be used in .CS

for example for

<table id=Table1 runat=server>

you can reference the control by its unique id

Table1.visible = false;
 
If you add "runat=server" to any html control, asp.net will create a
server-side object for the control. The type of the object depends on the
type of the control. You can refer to the object by its id

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
 

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

Back
Top