views:

12

answers:

0

Hi I am trying to implement a export to csv functionality where when the user clicks on a link, I need to get the selected items ids from Telerik grid and pass it to a controller method which will prepare the csv file pass it back so the user can save the file on local hard disk

I have got the controller working where it can prepare the csv data and return as below:

return File(encodedCSVBytes, "text/csv", "InvoiceExport.csv");

Can anybody advise me how i can call the controller method passing in the selected Ids