This is a migrated thread and some comments may be shown as answers.

There was a bug in girdview when export/print to excel which cell is start with "0"!

0 Answers 28 Views
GridView
This is a migrated thread and some comments may be shown as answers.
PEIYANG
Top achievements
Rank 1
PEIYANG asked on 09 Aug 2012, 04:28 PM
     using (Stream stream = dialog.OpenFile())
                        {
           GridViewExportOptions exportOptions = new GridViewExportOptions();
            exportOptions.Format = format;
            exportOptions.Encoding = Encoding.UTF8;
            exportOptions.ShowColumnFooters = false;
            exportOptions.ShowColumnHeaders = true;
            exportOptions.ShowGroupFooters = false; 
                            this.RadReport.Export(stream, exportOptions);
                        }

when the value "001" in the gridview,after export it become "1",how to solve it?
Can you give me some example?    The problem is the same to the print event!

No answers yet. Maybe you can help?

Tags
GridView
Asked by
PEIYANG
Top achievements
Rank 1
Share this question
or