Hello All,
I have a grid. I have several small grids inside the grid. I want to export the grid to MS word using RadGrid1.MasterTableView.ExportToWord();
This works fine, but when I do RadGrid1.ExportSettings.IgnorePaging = true; then the small grids inside the bigger grid starts throwing error. I get the error message that small grid is null. I am doing the find of the small grid in
RadGrid1_ItemDataBound. below is my code
In the above code RadGrid_detailsHeader is my small grid inside RadGrid1. when I write the ignorePaging command, this radGrid_detailsHeader becomes null. I am not sure what am I doing wrong. I need to print this grid with paging. I have five grids inside the big grid.
I spend my whole day trying to work this out, but without success. I am willing to use Telerik reporting option or any other way is also fine.
I have to export this grid to MS word and Excel.
I really really need help with this one.
Any help or tips will be greatly appreciated.
I have a grid. I have several small grids inside the grid. I want to export the grid to MS word using RadGrid1.MasterTableView.ExportToWord();
This works fine, but when I do RadGrid1.ExportSettings.IgnorePaging = true; then the small grids inside the bigger grid starts throwing error. I get the error message that small grid is null. I am doing the find of the small grid in
RadGrid1_ItemDataBound. below is my code
protected void RadGrid1_itemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
RadGrid RadGrid_DetailsHeader = (RadGrid)e.Item.FindControl("RadGrid_DetailsHeader");
RadGrid_DetailsHeaderBind(casRepHeader, RadGrid_DetailsHeader);
}
}
I spend my whole day trying to work this out, but without success. I am willing to use Telerik reporting option or any other way is also fine.
I have to export this grid to MS word and Excel.
I really really need help with this one.
Any help or tips will be greatly appreciated.