Hi!
I wanted to export several radgrids to a Word document, so I found out an example that suggested to wrap the grids into a global grid.
That's what I've done with the structure below:
The problem I'm facing is in my Word document there is a string with the literal "Item" below the caption "This is the caption" and before my inner radgrid.
I'm never setting this string, so I guess it's a default value I don't even know how to change. I don't know how to hide it in the Word document, although I managed to hide it with css in the web layer.
Any suggestion would be appreciated,
Thanks in advance,
Mary.
<telerik:RadGrid ID="RadGridWrapper" runat="server" BorderStyle="None" ShowHeader="false" ShowFooter="false"
OnGridExporting="OnGridExporting">
<MasterTableView AutoGenerateColumns="true" ShowHeadersWhenNoRecords="true"
NoMasterRecordsText="<%$ Resources:GlobalResources, NoResults%>"
ShowHeader="true" ShowFooter="false" Caption="This is the caption" >
<ItemTemplate>
<telerik:RadGrid ID="RadGrid1" runat="server"
GridLines="Both" Skin="Windows7"
HorizontalAlign="Center" AutoGenerateColumns="false"
OnNeedDataSource="RadGrid_NeedDataSource1" >
<MasterTableView> ... </MasterTableView>
</telerik:RadGrid>
<telerik:RadGrid ID="RadGrid2" runat="server" GridLines="Both"
OnNeedDataSource="RadGrid_NeedDataSource2"
Skin="Windows7" HorizontalAlign="Center" AutoGenerateColumns="false">
<MasterTableView> ... </MasterTableView>
</telerik:RadGrid>
</ItemTemplate>
</MasterTableView>
</telerik:RadGrid>
I wanted to export several radgrids to a Word document, so I found out an example that suggested to wrap the grids into a global grid.
That's what I've done with the structure below:
The problem I'm facing is in my Word document there is a string with the literal "Item" below the caption "This is the caption" and before my inner radgrid.
I'm never setting this string, so I guess it's a default value I don't even know how to change. I don't know how to hide it in the Word document, although I managed to hide it with css in the web layer.
Any suggestion would be appreciated,
Thanks in advance,
Mary.
<telerik:RadGrid ID="RadGridWrapper" runat="server" BorderStyle="None" ShowHeader="false" ShowFooter="false"
OnGridExporting="OnGridExporting">
<MasterTableView AutoGenerateColumns="true" ShowHeadersWhenNoRecords="true"
NoMasterRecordsText="<%$ Resources:GlobalResources, NoResults%>"
ShowHeader="true" ShowFooter="false" Caption="This is the caption" >
<ItemTemplate>
<telerik:RadGrid ID="RadGrid1" runat="server"
GridLines="Both" Skin="Windows7"
HorizontalAlign="Center" AutoGenerateColumns="false"
OnNeedDataSource="RadGrid_NeedDataSource1" >
<MasterTableView> ... </MasterTableView>
</telerik:RadGrid>
<telerik:RadGrid ID="RadGrid2" runat="server" GridLines="Both"
OnNeedDataSource="RadGrid_NeedDataSource2"
Skin="Windows7" HorizontalAlign="Center" AutoGenerateColumns="false">
<MasterTableView> ... </MasterTableView>
</telerik:RadGrid>
</ItemTemplate>
</MasterTableView>
</telerik:RadGrid>