Hi all,
I have a radgrid which i want to export to csv. But my problem is i want to hide the headers when exporting. How can i acheive this??
below are the codes am trying to use
any help
I have a radgrid which i want to export to csv. But my problem is i want to hide the headers when exporting. How can i acheive this??
below are the codes am trying to use
if (e.CommandName == RadGrid.ExportToCsvCommandName)
{
GridHeaderItem HeaderItem = (GridHeaderItem)RadGrid1.MasterTableView.GetItems(GridItemType.Header)[0];
HeaderItem.Visible = false;
}