Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for ASP.NET Web Forms / WebExcelExporter.Export : String values assigned to a cell cannot have a length greater than 32767

WebExcelExporter.Export : String values assigned to a cell cannot have a length greater than 32767

New Discussion
Chandu Byragani
Chandu Byragani asked on Oct 9, 2014 8:33 AM

I’m facing an issue while exporting data to Excel from Infragistics WebDataGrid. I have field which is more than 32767 character length and when I export this fields to Excel cell it is showing the below error message.
String values assigned to a cell cannot have a length greater than 32767

Is there any solution for this? out of box functionality? or DO I need to write my custom code?

Sign In to post a reply

Replies

  • 0
    Mike Dour
    Mike Dour answered on Oct 5, 2014 6:33 PM

    Unfortunately, it is not possible to assign a value to a cell if it is text with more than 32767 characters. Excel does not support it. The exception you see is correctly enforcing the limits of the Excel file format. You can find all limits for Excel 2013 here.

  • 0
    Hristo Anastasov
    Hristo Anastasov answered on Oct 6, 2014 8:38 AM

    Hello Chandu,

    As Mike pointed out it is not possible to store more than 32767 characters in an excel cell. Of course you could try to separate the data from your field into 2 fields in the grid if that would keep your scenario.

    • 0
      Hristo Anastasov
      Hristo Anastasov answered on Oct 9, 2014 8:33 AM

      Hello,

      If you have further questions on the matter, please let me know, I will be glad to help.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Chandu Byragani
Favorites
0
Replies
3
Created On
Oct 09, 2014
Last Post
11 years, 4 months ago

Suggested Discussions

Created by

Created on

Oct 9, 2014 8:33 AM

Last activity on

Feb 11, 2026 2:32 PM