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

1 posts, 0 answers
  1. PEIYANG
    PEIYANG avatar
    65 posts
    Member since:
    Jul 2012

    Posted 09 Aug 2012 Link to this post

         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!
Back to Top