error message: clientside validation

Posted by user281180 on Stack Overflow See other posts from Stack Overflow or by user281180
Published on 2010-03-19T07:57:06Z Indexed on 2010/03/19 8:01 UTC
Read the original article Hit count: 252

Filed under:
|

What is the meaning of the following error message?How can I use the EnableClienTValidation()?

Error 3 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'EnableClientValidation' and no extension method 'EnableClientValidation' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?) c:\Dev\DEV\test3\Code\MvcUI\Views\Customer\Create.aspx 11 13 MvcUI

I have reference the following:`" type="text/javascript">

    <script src="<%=Url.Content("~/Scripts/jquery.validate.js")%>" type="text/javascript"></script>

    <script src="<%= Url.Content("~/Scripts/MicrosoftAjax.js")%>" type="text/javascript"></script>
    <script src="<%= Url.Content("~/Scripts/MicrosoftMvcAjax.js")%>" type="text/javascript"></script>
    <script src="<%= Url.Content("~/Scripts/MicrosoftMvcJQueryValidation.js" )%>" type="text/javascript"></script>

`

© Stack Overflow or respective owner

Related posts about mvc

Related posts about jQuery