Hi Guys,
I'm trying to populate the slickGrid with an ajax call.
my function returns a datatable. But I need to convert the datatable to JSON. please help.Code:<script type="text/javascript" > $(document).ready(function() { var params = {}; params.strMeetingID = '3'; $.ajax({ type: "POST", url: "TopicsGrid.aspx/GetTopicsTable", data: $.toJSON(params), contentType: "application/json; charset=utf-8", dataType: "json", success: function(message){ }, error: function(errormessage){ alert(errormessage.statusText); } }); });




Reply With Quote