[英]Custom Validation Error Popups Asp.Net MVC
I have an Asp.Net MVC 4 application in which i am currently doing both Client side(JQuery) and server side validations. 我有一个Asp.Net MVC 4应用程序,目前我正在其中进行客户端(JQuery)和服务器端验证。 Currently i use in my View
@Html.ValidationMessageFor(model => model.SomeField)
and it's working fine showing a red message on top of my control "This field is required" . 目前,我在View
@Html.ValidationMessageFor(model => model.SomeField)
并且在我的控件顶部显示红色消息“此字段是必需的”,它工作正常。
For Client side i implement IClientValidatable and its working fine too. 对于客户端,我实现了IClientValidatable及其工作正常。
But , I would like to use some custom error message notification similiar to what Stackoverflow is doing, such as showing a tipped div near the control, with the error message. 但是,我想使用一些与Stackoverflow相似的自定义错误消息通知,例如在控件附近显示带有提示信息的div并显示错误消息。
Is there any JQuery plugins availabile that i can use for this purpose. 有没有可用于此目的的JQuery插件。 I did some google search and i was not able to find any !
我做了一些谷歌搜索,但我找不到!
Thanks ! 谢谢 !
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.