How to use relative url in jqGrid url parameter in ASP MVC?
I have installed jqGrid like this
$('#gridTable').jqGrid({
url: '/GridData/',
...
Now if I go to a URL like "/ Controller / id /" the grid will send a GET to "/ GridData /" instead of "/ Controller / id / GridData /".
Can I do a relative GET so that I can select the id on the server side or do I have to manually pass the id as a parmater using javascript on the client?
+2
source to share