简体   繁体   中英

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. 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" .

For Client side i implement IClientValidatable and its working fine too.

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.

Is there any JQuery plugins availabile that i can use for this purpose. I did some google search and i was not able to find any !

Thanks !

I've used before and would recommend qtip2 JQuery plugin.

Check out some of the demos

I've found it works well with MVC and unobtrusive validation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM