HTML controls are run on client side, where as ASP.net controls runs on server side and for execute on client side, they generate HTML controls.
Vijay Naidu
Nov 22nd, 2006
if i put runat="server" in html control tag what will happen, that will not work at server sideĀ
Neel
Nov 23rd, 2006
Control Abstraction: A HTML Server Control has similar abstraction with its corresponding HTML tag and offers no abstraction.
ASP .NET Server Controls have higher level of abstraction. An output of an ASP .NET server control can be the result of many HTML tags that combine together to produce that control and its events.
Object Model: The HTML Server Controls follow the HTML-centric object model. ASP .NET Server Controls have an object model different from the traditional HTML and even provide a set of properties and methods that can change the outlook and behavior of the controls.
Browser Compatibility: The HTML Server Controls have no mechanism of identifying the capabilities of the client browser accessing the current page.
ASP .NET Server Controls can however detect the target browser's capabilities and render themselves accordingly.
That will work!. Sometimes we may not get the poperty intellisense of the control...but still it has go all the properties. We can set any relevant property of that control. (I found after one successive run of the program, properties intellisense are coming.)
Thanks and Happy coding
shibin
sunitha
Jan 1st, 2007
yes it will run @ server side.
all asp.net controls maynot serve html control's functionality,In such cases we use HTML controls and make them run at ="server" for state management.
What is the Difference between HTML controls and ASP.net Controls?(Don't tell Runat="server")