Hi All
Is it possible to send Kendo Grid DataSourceRequest as javascript parameter to conroller?
I just want to do something like this
var
url =
'../Dashboards/ExportCsvList'
;
$.ajax({
type:
"POST"
,
url: url,
traditional:
true
,
data: { request: datarequest}
// i want to send as paramter
success:
function
(msg) {
}
});
and i want to catch that as in example below
public FileResult ExportCsvList([DataSourceRequest]DataSourceRequest request)
{
//do smth...
}
Is it possible?
Thanks