Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
JQGrid and ASP.NET MVC
18/08/2008
16:30
Avatar
bartreyserhove
New Member
Members
Forum Posts: 2
Member Since:
19/08/2008
sp_UserOfflineSmall Offline

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?

19/08/2008
01:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

19/08/2008
04:53
Avatar
bartreyserhove
New Member
Members
Forum Posts: 2
Member Since:
19/08/2008
sp_UserOfflineSmall Offline

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.

23/08/2008
02:23
Avatar
smlong426
Member
Members
Forum Posts: 4
Member Since:
23/08/2008
sp_UserOfflineSmall Offline

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

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
23 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information