How to export current page/selected record?
This KB showcase the example to export the current page/selected records from the Grid. In the ToolbarClick event, we have to update selected records or currentViewData into Grid model and export the Grid.
Likewise for ASP.Net Grid, retrieve the Grid model from the HttpContext. Refer the following code example.
The following screenshot show Exported Grid and Grid with Exporting enabled.
Figure 1: CurrentViewData of Grid in Exported Excel
Figure 2: Exporting Grid
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.