difference between htmlcontrols and web control.

A

archana

Hi all,

can anyone tell me difference between htmlcontrols and web controls.

If i have table web control and table html controls which one should i
use. Because i can add runat tag to html controls. so what is exact
difference between these two.

any help will be truely appreciated.

thanks in advance.
 
D

David Wier

Many web controls (which, in turn, return HTML to the web browser) have
properties and methods added to them, which are unavailable in their HTML
counterparts. By adding and ID and a Runat=Server to html controls, you
essentially make it a generic html control, without the built in additions
of some of the ASP.NEt Server controls.

I use basic HTML for my tables most of the time, though a few times, I found
that I needed the added functionality of the server controls.

David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

Seems to be working for me.
Perhaps there was a temporary glitch?
 

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

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top