I have a requirement in one applicaion which is implemented in MVC 4,
Inorder to bind jqxgrid using virtual paging and send additional data to the method (web api ) there is a facility to send the details as request as Post request.
this is the method i have come through in Jqwidgets documentation.
var source =
{
datatype: “jsonp”,
datafields: [
{ name: ‘countryName’ },
{ name: ‘name’ },
{ name: ‘population’, type: ‘float’ },
{ name: ‘continentCode’ }
],
url: “http://ws.geonames.org/searchJSON”,
data: {
featureClass: “P”,
style: “full”,
maxRows: 50
}
};
I need to pass the model to the Webapi method, since it is get request the model data is appending in the querystring
Thanks in advance.