Forum


16:30

19/08/2008

First of all, sorry for cross posting this. I also posted this in the ASP.NET forums.
I'm trying to use JQGrid in combination with ASP.NET MVC but no matter what I give in in the URL, it never goes back to the server.
Does anyone know if it is even possible to use JQGrid in combination with ASP.NET MVC?
01:29

Moderators
30/10/2007

I'm sory, but I do not work with ASP.NET MVC, but I can tell you some recommendations.
1. Try to obtain the values form server without using jqGrid - i.e. use
simple ajax request and see if you have the response from server.
2. If this is ok then try to analyze what kind of information do you
recieve from server. Is this information applicable to jqGrid?
3. If possible use FireBug to analyze what is happen.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
02:23

23/08/2008

bartreyserhove said:
Thanks for the reply. Apparently I just did something wrong in the configuration of JQGrid. At first sight it works perfectly together with ASP.NET MVC.
I have not tried ASP.NET MVC yet since it is still beta, and I don't care to
use beta software in a production environment.
At any rate, the underlying server technology should not matter.
I have utilized web services for ASP.NET to provide data to jqGrid. I use
a combination of XmlDocument and XmlTextWriter to get my data into
something presentable to jqGrid. At any rate, it all works well and the only
stumbling block I ran into was that you have to use POST method for
ASP.NET web services. Along those lines, I found that using the build in
API for adding POST data allows me to send back useful information like
document ID's and such... sort of like this on the row select event:
jQuery("#someGrid").appendPostData({ itemId: ids })
Anyhow, I'm sorry to ramble. I have just started using jqGrid and wanted
to share my experiences with it in an ASP.NET production environment so
far.
Stephen
Most Users Ever Online: 715
Currently Online:
86 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