Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
306
UltraWebGridExcelExporter - Control characters not coming through in export
posted

Hi,

I am using the UltraWebGridExcelExporter control to export from a grid to Excel.  I have noticed that line breaks in the original source text are not not appearing in the exported Excel worksheet e.g.:

Original Text

this
is
a
test

Excel Cell Text

this is a test

How can I preserve the control chars in the resulting Excel?

Regards

Myles

 

 

Parents
No Data
Reply
  • 306
    Verified Answer
    posted

    We've now resolved it.  We needed to set the grid column cells to multiple lines e.g.

    grdImportedExcel.Columns[index].CellMultiline = CellMultiline.Yes;

    We didn't spot this as our grid is invisible on the page.

     

Children
No Data