What is the difference between html and asp.net controls?

Asp.net controls one hidden value for each control to maintain state that is exact difference if u put runat="server" and attch one hidden value to html control that works as asp.net control to see this open view source in web browser u will find this answer ok bye

Showing Answers 1 - 6 of 6 Answers

Rupesh Tiwary

  • Dec 5th, 2006
 

we can say that all Asp.net control has a atribute runat= server.

  Was this answer useful?  Yes

rayhan21

  • Dec 20th, 2006
 

html controls are client side controls i.e  all the validation are done at client browser itself the page will not posted to server where as asp.net controls are server side controls all the validation are done at server each & every control will goes to server & it will maintain a view state i.e a <hidden> field is maintained.

  Was this answer useful?  Yes

MCSD Kits Lists 4 Differences
1. Server Controls Trigger Server side events.  Where as HTML controlsonly trigger client side events.
2. State Management
    Server Controls provides State Management  -  Dataentered in a control is maintained across requests.
    State Management in HTML Controls can be achieved usingPage-level scripts.
3. Adaptation
 Server controls automatically detects & adapts display appropriately.
    HTML Controls - No automatic detection is possible.
4. Properties
 Server controls - Provides a good set of properties that can bemanipulated from server side code.
    HTML Controls - It has the basic set of HTML attributes attachedto each element.


 

  Was this answer useful?  Yes

mos_christ

  • Feb 8th, 2007
 

Html controls are client side controls by default and asp.net controls are server side controls by default

  Was this answer useful?  Yes

gupta

  • Feb 10th, 2007
 

--yes, ur answer is perfect in my point of view--

  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.

 

Related Answered Questions

 

Related Open Questions