0

I have a strange problem.

while MicrosoftMvcValidation works in my mvc project, MicrosoftMvcJQueryValidation doesn't.

this is my code:

<script src="../../Scripts/MicrosoftMvcJQueryValidation.js" type="text/javascript"></script>
<script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>

Thank you

1

1 Answer 1

0

I found the answer: It apears that inorder to use the asp.net mvc's client validation you have to use the labda expression text and validation formats (Html.TextBoxFor and Html.ValidationMessageFor) thank you

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.