Hi,
I tried to export RadGrid to Excel into Biff format. I have a Template Column format like this :
The SuppressColumnDataFormatStrings=True don't work with template column.
Settings of export grid are :
How can change the export format of this column to {0:0} when i export my RadGrid.
ty
I tried to export RadGrid to Excel into Biff format. I have a Template Column format like this :
<telerik:GridTemplateColumn UniqueName="Projection3" DataField="Projection3" HeaderText="Projection 3" HeaderStyle-Width="130px" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" Aggregate="Sum" DataType="System.Decimal" FooterStyle-HorizontalAlign="Right" FooterText=" " FooterAggregateFormatString="{0:### ### ### ##0}"> <ItemTemplate> <%# String.Format("{0:### ### ### ##0;(### ### ### ##0);0}", Eval("Projection3"))%> </ItemTemplate> <EditItemTemplate> <telerik:RadNumericTextBox ID="rntbProjection3" runat="server" Width="100%" Text='<%# Bind("Projection3")%>' MaxValue="999999999" MinValue="-999999999" CssClass="NumberAlignRight"> <NumberFormat DecimalDigits="0" /> <IncrementSettings InterceptArrowKeys="false" /> </telerik:RadNumericTextBox> </EditItemTemplate></telerik:GridTemplateColumn>The SuppressColumnDataFormatStrings=True don't work with template column.
Settings of export grid are :
.ExportSettings.IgnorePaging = True .ExportSettings.ExportOnlyData = True .ExportSettings.OpenInNewWindow = True .ExportSettings.SuppressColumnDataFormatStrings = True .ExportSettings.HideStructureColumns = False
How can change the export format of this column to {0:0} when i export my RadGrid.
ty