What is the Difference between HTML controls and ASP.net Controls?(Don't tell Runat="server")

Showing Answers 1 - 5 of 5 Answers

Monika Gupta

  • Nov 21st, 2006
 

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.

  Was this answer useful?  Yes

Vijay Naidu

  • Nov 22nd, 2006
 

if i put runat="server" in html control tag what will happen, that will not work at server sideĀ 

  Was this answer useful?  Yes

Neel

  • Nov 23rd, 2006
 

  1. 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.
     

  2. 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.
     

  3. 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.

please go through http://aspalliance.com/258

  Was this answer useful?  Yes

shibin fazil

  • Nov 27th, 2006
 

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

  Was this answer useful?  Yes

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.

one such example is file browse control.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.