Exemplo n.º 1
0
 public static MvcForm BeginFormWithValidation(this HtmlHelper htmlHelper, ISupportPost url)
 {
     var form = htmlHelper.BeginForm(url);
       // htmlHelper.ViewContext.FormContext.ClientValidationFunction = "EnableClientValidation";
       return form;
 }
Exemplo n.º 2
0
 public static MvcForm BeginForm(this HtmlHelper htmlHelper, ISupportPost url)
 {
     return BeginForm(htmlHelper, url, FormMethod.Post);
 }