摘要: 要实现默认的验证,需完成如下三步骤:1.在Web.config里启用客户端验证,在Mvc自带的模版中是默认存在的:两个属性必须都为true时才能启用客户端验证,还有一种替代方法:protected void Application_Start(){ AreaRegistration.Register... 阅读全文
posted @ 2014-06-02 04:10 Coca-code 阅读(196) 评论(0) 推荐(0)