Hi Guys,
I'm using Kentico 8.
I had Used unigrid with selection boxes enabled in xml definition.
Now I want export the records selected in unigrid to excel.
Unigrid.SelectedItems is just returning the List(string> i.e First column values.
So any default ways to export the selected items in unigrid, or i have to query the database again and do Export the data.
Thanks
I'd say have a look in the ExportData method which you can find in ...\CMSAdminControls\UI\UniGrid\Controls\AdvancedExport.ascx.cs.
ExportData
...\CMSAdminControls\UI\UniGrid\Controls\AdvancedExport.ascx.cs
This should give you a start how to include only your selected items.
Please, sign in to be able to submit a new answer.