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