Forum


15:32

19/10/2010

Hi!
We have spent days now trying to implement the grid in our ASP.NET Webforms application. We get the following error:
$("#testGrid").jqGrid is not a function
I have searched around the web a lot and the same response seems to come back over and over for this error. You need to make sure you have included the JS file correctly.
I think we've tried pretty much everything by now. And yes the JS file is loaded as far as I can see (using firebug and inspecting, is there another way?).
I have followed endless tutorials and even the Wiki page available here, still the same thing.
Currently the JS includes looks like this:
<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="js/jquery.jqGrid.min.js" type="text/javascript"></script>
Any pointers would be appreciated.
EDIT:
I still believe the error has something to do with the JS files, no matter which of the 10 odd implementations we've tried it's always the same error. That leads me to believe that it has nothing to do with the code itself but still is something with the includes.
EDIT2:
We have now also included UI js file and still the same thing.
<script src="js/jquery-ui-1.8.5.custom.min.js" type="text/javascript"></script>
Most Users Ever Online: 715
Currently Online:
66 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66