¡@

Home 

c# Programming Glossary: validationmessagefor

TextBoxFor rendering to HTML with prefix on the ID attribute

http://stackoverflow.com/questions/2051985/textboxfor-rendering-to-html-with-prefix-on-the-id-attribute

try these extension methods public static MvcHtmlString ValidationMessageFor TModel TProperty this HtmlHelper TModel htmlHelper string prefix.. prefix Expression Func TModel TProperty expression return ValidationMessageFor htmlHelper prefix expression null new RouteValueDictionary .. null new RouteValueDictionary public static MvcHtmlString ValidationMessageFor TModel TProperty this HtmlHelper TModel htmlHelper string prefix..