MVC 2 JScript Runtime Error: FormContext is null

Posted by Kenny on Stack Overflow See other posts from Stack Overflow or by Kenny
Published on 2010-05-24T17:06:46Z Indexed on 2010/05/24 17:11 UTC
Read the original article Hit count: 725

Filed under:
|
|

When loading a page in my MVC project, I am getting a JScript runtime error that origininates in the MicrosoftMvcValidation.js file saying that Sys.Mvc.FormContext is null or not an object.

The page includes a standard "Add" form and a partial view that shows a list of data items. I have the references to the js files in the master page as follows.

What could be causing this and how might I be able to fix it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc-2