I am trying to export the contents of the radgrid in a csv file using the function
ProductSplitGrid.MasterTableView.ExportToCSV();
However the csv file is only printing the GridBoundColumn like this below.
<telerik:GridBoundColumn UniqueName="PL2" DataField="ProductLevel2" DataType="System.Int32" Visible="true" AllowFiltering="false" ItemStyle-Width="15%" HeaderText="Product Level 2">
<ItemStyle Width="8%"></ItemStyle>
</telerik:GridBoundColumn>
It is unable to print any GridTemplateColumn like this below:
<telerik:GridTemplateColumn UniqueName="Ship To" HeaderText="Customer" Visible="True" AllowFiltering="false" ItemStyle-Width="8%">
<ItemTemplate>
<telerik:RadComboBox ID="comboShipToID" runat="server" Width="250px" Height="200px"
AllowCustomText="True" ShowToggleImage="True" ShowMoreResultsBox="true"
EnableLoadOnDemand="True" MarkFirstMatch="True" OnItemsRequested="comboShipToID_ItemsRequested"
Skin="WebBlue" EnableVirtualScrolling="true">
</telerik:RadComboBox>
</ItemTemplate>
<ItemStyle Width="8%"></ItemStyle>
</telerik:GridTemplateColumn>
Could anybody help me in this regard.
ProductSplitGrid.MasterTableView.ExportToCSV();
However the csv file is only printing the GridBoundColumn like this below.
<telerik:GridBoundColumn UniqueName="PL2" DataField="ProductLevel2" DataType="System.Int32" Visible="true" AllowFiltering="false" ItemStyle-Width="15%" HeaderText="Product Level 2">
<ItemStyle Width="8%"></ItemStyle>
</telerik:GridBoundColumn>
It is unable to print any GridTemplateColumn like this below:
<telerik:GridTemplateColumn UniqueName="Ship To" HeaderText="Customer" Visible="True" AllowFiltering="false" ItemStyle-Width="8%">
<ItemTemplate>
<telerik:RadComboBox ID="comboShipToID" runat="server" Width="250px" Height="200px"
AllowCustomText="True" ShowToggleImage="True" ShowMoreResultsBox="true"
EnableLoadOnDemand="True" MarkFirstMatch="True" OnItemsRequested="comboShipToID_ItemsRequested"
Skin="WebBlue" EnableVirtualScrolling="true">
</telerik:RadComboBox>
</ItemTemplate>
<ItemStyle Width="8%"></ItemStyle>
</telerik:GridTemplateColumn>
Could anybody help me in this regard.