Hi,
Can any one help me.
In my application , I’m using the Jqxgrid , binding the data to grid using pagemethod concept it was working fine, but now I want to use the jquery ajax concept to get the data from server and update to dropdown control . I’m able to get the data but not able to bind it in grid.
Here is my sample code
$.ajax({
type: “POST”,
url: “JQueryData.aspx/GetFrequencyData”,
contentType: “application/json; charset=utf-8”,
dataType: “json”,
success: function (result) {
OnGetFrequencyComplete(result);
}
});
function OnGetFrequencyComplete(result) {
var FrequencySource =
{
datatype: “json”,
datafields: [
{ name: ‘FrequencyName’ },
{ name: ‘FrequencyId’ }
],
localdata: result,
id: ‘ddlFrequencyId’
}
}
Regards,
J Sampath Kumar.