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.
-
please go hrough following SO posts may it help you 1. stackoverflow.com/questions/4582866/… 2.stackoverflow.com/questions/3380945/…Devjosh– Devjosh2011-07-05 11:51:52 +00:00Commented Jul 5, 2011 at 11:51
-
Thanks. but it would be easier for me to create if i could get step by step sample.......Riti– Riti2011-07-05 12:03:16 +00:00Commented Jul 5, 2011 at 12:03
Add a comment
|
1 Answer
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
1 Comment
Brian Mains
No problem, it takes a little getting used to when you switch from web forms to MVC :-)