2

I need to make a custom control in asp.net mvc3.0 with razor view engine just like we make in classic asp.net. Please guide me how can I create a custom control or user control.

2

1 Answer 1

5

It's not a control, it's a helper, and you can read more here:

http://www.asp.net/mvc/tutorials/creating-custom-html-helpers-cs

Sign up to request clarification or add additional context in comments.

1 Comment

No problem, it takes a little getting used to when you switch from web forms to MVC :-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.