Hello,
I am trying to export only selected rows in excel but while exporting, item.selected is always returning false in ItemCommand, GridExporting
case "ExportToExcel": e.Canceled = true; GridDataItem item3 = (GridDataItem)e.Item; if (item3.Selected) { string Str = item3["ITEM_ID"].Text.ToString(); } break;In GridExporting
protected void rgDeviceApproval_GridExporting(object sender, GridExportingArgs e) { foreach (GridDataItem item in this.rgDeviceApproval.MasterTableView.Items) { if (item.selected) { }}}