I am exporting some decimals to excel and the formatting is dropping of two numbers.
Displays: 0.0051
Exports: 0.00
I have tried the following below to no avail, your help would be greatly appreciated.
| DataFormatString=" {0}" which gives me "?0.0051" |
| DataFormatString="{0:f5}" still 0.0051 |
| RadGrid1.MasterTableView.HierarchyDefaultExpanded = true; |
| RadGrid1.MasterTableView.DetailTables[0].HierarchyDefaultExpanded = true; |
| RadGrid1.AllowPaging = false; |
| RadGrid1.MasterTableView.Rebind(); |
| RadGrid1.ExportSettings.OpenInNewWindow = true; |
| RadGrid1.MasterTableView.ExportToCSV(); |
Hi..
Is there any way to my ExportPDF button with traditional Insert and Refresh button. Usually the insert and Refresh button displays top and also we can adjust the position.
I am facing the issue when i added the ExportPDF button with the Grid. The grid displays only ExportPDF button only.
| <CommandItemTemplate> |
| <asp:LinkButton Font-Bold="true" ForeColor="blue" ID="btnExport" CommandName="lnkExportPDF" |
| runat="server">ExportPDF</asp:LinkButton> |
| </CommandItemTemplate> |
protected
void ExportData(object sender, EventArgs e)
{
Button ExportLinkButton = (Button)sender;
RadGrid1.ExportSettings.IgnorePaging =
false;
RadGrid1.MasterTableView.ExportToExcel();
}
RadGrid1.MasterTableView.AllowPaging =
false;