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
change dataUrl method from get to post
06/01/2010
22:58
Avatar
hollow
Guest
Guests

Hello,

I have a little problem with the dataUrl option for select inputs in form editing mode. On my local machine, the grid makes a GET request to the url in the dataUrl, to retrieve the string for the select input in the edit/add dialog and it works just fine. When I upload the application to the server, the get method throws an error because of the .htacces file (using MVC with CodeIgniter) or the default lack of support for GET methods in CI, or I really don't know why (as it works just fine on my local machine). So, alternating between errors like page not found 404 or disallowed URI characters 400, from CI, I thought I may change the method to POST (easily) and hopefully make it work.

Thank you!

07/01/2010
10:51
Avatar
kuafusoft
Member
Members
Forum Posts: 27
Member Since:
31/12/2009
sp_UserOfflineSmall Offline

It seems there's an option for grid:

ajaxSelectOptions /jqgridwiki/doku.php?id=wiki:options

You can try to set it to {type:'POST'}.

Maybe helpful.Laugh

07/01/2010
20:51
Avatar
hollow
Guest
Guests

I didn't know this option and it seems it should do the trick.

However, after adding this property it still does a GET request. I tried finding the format for the ajaxSelectOptions, but didn't find any docs.

Are you sure this is the correct syntax for it?

Thank you!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
47 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