Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

There is HTML Helpers in MVC. Now what is the difference between asp.net server controls and HTML helpers?
why we are using html helpers in place of asp.net server controls?

please help me for this..
Posted

Server controls refer to WebForms approach, while html helpers refer to ASP.NET MVC framework approach.

On a link below approaches are comparedm and advantages and disadvantages are briefly written.

http://msdn.microsoft.com/en-us/library/dd381619(v=vs.98).aspx[^]
 
Share this answer
 
the best simple answer would be -
1.html helper does not create view state while server control does.
2.html helper controls are light weighted.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900