Dear Telerik Team,
We are facing a problem with export to CSV feature using RadGrid. Actually we have a grid having a column showing range for ‘# of FTEs’ and ‘# of Freelancers’. You can find the column data in the attached file Grid.jpg. When we try to export the grid to CSV, these two columns converts to date column as shown in the attached file Excel.jpg.
Please provide us some solution for that.
Thanks
Tarika Team
protected void OnButtonClick( object sender,EventArgs e )
{ ArrayList ar = new ArrayList();
foreach (GridDataItem item in RadGridFrom.SelectedItems)
{ ar.Add( item["Column1"].Text);//access the value here
}
}
but SelectedItems collectioin always have O items , I am not able to figure out why this is happening.
I also tried following code for fetching details of selected rows :
protected void OnButtonClick( object sender,EventArgs e )
{
ArrayList ar = new ArrayList();
foreach (GridDataItem item in RadGridFrom.MasterTableView.Items)
{
if (item.Selected)
ar.Add( item["Column1"].Text);//access the value here
}
}
but still it is not working.
I am using Telerik.Web.UI_2011_2_915_Trial dll
Kindly help with the solution ASAP.
Thanks,
Bhupendra