MVC3 Client side validation not working

后端 未结 3 1850
再見小時候
再見小時候 2020-12-15 00:09

I\'m using MVC3 with Razor.
I\'ve included the following in my _Layout.cshtml:



        
3条回答
  •  爱一瞬间的悲伤
    2020-12-15 00:21

    Remove the Html.EnableClientValidation(); and goto your web config, and make sure you have an appSetting that looks like the below:

    
    

提交回复
热议问题