I have a problem with jqGrid and ASP.NET MVC framework.
Namely, jqGrid is working fine, until the point when I have in address bar URL like this:
http://[domain]/Controller/Action
It gives me JS error: “Object doesn’t support this property or method”.
When URL is like this:
http://[domain]/Controller
everything is working fine.
Properties for jqGrid are:
url: '/Controller',
datatype: 'json',
mtype: 'POST'
etc.
Has anyone else encountered with this problem?
Thanks in advance,
Dejan
The problem was inside the file “jquery.jsGrid.js”.
The path in variable “pathtojsfiles” was missing one backslash at the beginning.