Control objects: HTML or ASP.NET

  • Thread starter Thread starter Apostolis K.
  • Start date Start date
A

Apostolis K.

When should I use HTML Control objects (HTML Tags + "runat" and "id"
attirbutes) and when ASP.NET Control Objects (<asp:servercontrol> tags) in
my ASP.Net Application. Is anyone of them more effective in some tasks or
whichever I use is the same thing?
 
HTML Controls are class for use same part of html element on server, these
replace the old response.write().

ASP.NET controls have more code inside. ASP.NET controls are rendered
totally on server, can use ViewState for remember settings, and have
serverside event!

Brun.
 
Back
Top