c# - mvc4 and display validation errors like tooltips -
i'm struggling find solutions should display mvc4 app validation errors inside razor view tooltip messages instead inline using span class.
i rather not change validation logic keep existing mvc4 validation logic using model , it's dataannotations attributes.
i've found this solution again requires adding additional script code inside razor page validation should done.
if has advice or need further clarification of problem please address it.
thank you
update: i've found solution works nice although need 1 more adjustment, validation errors presented inside tooltip on mouse on control, how display on validation error (not on mouse hover)?
please use validation engine js, works mvc validation, have add script line on page. https://github.com/posabsolute/jquery-validation-engine
Comments
Post a Comment