Essential DocIO ASP.NET MVC
Nested table - Error message when opening the generated document
August 11, 2011 07:57 AM by Poornima R[Syncfusion]
Markus Odebrecht
Nested table - Error message when opening the generated document
August 10, 2011 09:45 AM
Hello dear support,

I tried the following example:

http://samples.syncfusion.com/sfmvcsamplebrowser/8.1.0.30/MVC/DocIO_MVC/Samples/3.5/insertcontent/formattable

but everytime i open the generated document I get an error message, telling me the document is broken.

Even short test snippets, such as the following, create this error, as soon as I try to create nested tables.

Im using Win 7 64bit and Word 2010.

Snippet:

IWordDocument document = new WordDocument();
IWSection section = document.AddSection();
IWTable table = section.AddTable();
RowFormat format = new RowFormat();

// Inserting table with a row and a column.
table.ResetCells(1, 1);

// Insert an inner Table in Column 1, Row 1
IWTable innerTable = table[0, 0].AddTable();

// Inner Table gets 2 Fields
innerTable.ResetCells(2, 1);

//Fill field
IWParagraph par = innerTable[0, 0].AddParagraph();
par.AppendText("Test inner 0,0");

//Fill field
par = innerTable[1, 0].AddParagraph();
par.AppendText("Test inner 1,0");

What I'am doing wrong?

Markus Odebrecht
Nested table - Error message when opening the generated document
August 10, 2011 09:58 AM
This only happens if i open the files in with the .doc format

Markus Odebrecht
Nested table - Error message when opening the generated document
August 10, 2011 10:08 AM
And only with Word 2010.

Poornima R
[Syncfusion]
Nested table - Error message when opening the generated document
August 11, 2011 07:57 AM
Hi Markus,

Thank you for your interest in Syncfusion Products.

The mentioned “Table corruption” issue has been already fixed from our version 8.4.0.10. Please try upgrading to our latest version 9.3.0.61 that is rolled out and available for download under the below location and let us know whether the issue is resolved.

http://www.syncfusion.com/support/forums/general/100432/Essential-Studio-2011-Volume-3-Final-Release-v93061-available-for-download

Please let us know if you have any questions.

Regards,
Poornima


::adCenter::