Click here to Skip to main content
12,999,010 members (47,891 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi friends, I'm new to MVC. Can you tell me:

1. Why html helper class is needed?
2. Javascript/Jquery do not provide the same functionality as html helper class provide?
3. Advantage of using html helper class?

Can anyone provide the tutorial link for the same?

Thanks in advance :)
Posted 13-Mar-13 4:28am
Updated 13-Mar-13 4:30am
ThePhantomUpvoter 13-Mar-13 10:31am
A google search for "html helper tutorial" produced over 1 million results. You did not get a single one?
dhage.prashant01 14-Mar-13 1:16am
I tried but did not get ans for my all question.
I was looking for expertise suggestion and i got it below and hope this post helps other new developers like me to learn more.
Cheers :)

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1) You don't need them, they help you to output proper html code. As they are managed code level objects, you have intellisense support, strong types and lambda expressions. The main goal: not to write as less html code directly as possible.
2) No, they serve totally different purposes, and while the helpers run on server side, javascript is running on client side.
3) They help you to write your application in a consistent, sustainable, maintainable fashion, and also faster.

Read these:[^][^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 13 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100