GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 111 of 156    Print  
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




  
Total Answers and Comments: 6 Last Update: February 12, 2007     Asked by: Vijay Naidu 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: shimabalam
 
There is one other diffrence is -server control inherits from System.Web.UI.Webcontrols but html not.

Above answer was rated as good by the following members:
abusaud
December 05, 2006 07:18:03   #1  
Rupesh Tiwary        

RE: What is the difference between html and asp.net co...
we can say that all Asp.net control has a atribute runat= server.
 
Is this answer useful? Yes | No
December 20, 2006 11:26:32   #2  
rayhan21 Member Since: April 2006   Contribution: 5    

RE: What is the difference between html and asp.net co...
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.
 
Is this answer useful? Yes | No
January 11, 2007 02:46:04   #3  
Sougandh Pavithran Member Since: January 2007   Contribution: 1    

RE: What is the difference between html and asp.net co...

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.


 


 
Is this answer useful? Yes | No
February 08, 2007 11:35:51   #4  
mos_christ        

RE: What is the difference between html and asp.net co...
Html controls are client side controls by default and asp.net controls are server side controls by default
 
Is this answer useful? Yes | No
February 10, 2007 05:48:39   #5  
gupta        

nice..
--yes, ur answer is perfect in my point of view--
 
Is this answer useful? Yes | No
February 12, 2007 07:04:58   #6  
shimabalam Member Since: February 2007   Contribution: 1    

RE: What is the difference between html and asp.net co...
There is one other diffrence is -server control inherits from System.Web.UI.Webcontrols but html not.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape