We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Table and text inside a bookmark

Thread ID:





103132 Apr 4,2012 10:07 AM UTC Apr 5,2012 11:52 AM UTC ASP.NET Web Forms (Classic) 1
Tags: DocIO
Julien Charles
Asked On April 4, 2012 10:07 AM UTC

I would like to insert some text and a table inside a bookmark like this :

some text
My Table <--- a custom table
some other text

The problem is the table is always placed at the end of the bookmark, even if i insert them in the right order. The result :

some text
some other text
My Table <--- a custom table

The code I use :
WordDocument document = new WordDocument();
IWTextRange wt;
document.Open("my template Word dot");
BookmarksNavigator bnSignets = new BookmarksNavigator(document);
bnSignets.MoveToBookmark("mySignet", true, true);
wt = (IWTextRange)bnSignets.InsertParagraphItem(ParagraphItemType.TextRange);
wt.Text = "some text";
bnSignets.InsertTable(myTable); //myTable has been initialized before
wt = (IWTextRange)bnSignets.InsertParagraphItem(ParagraphItemType.TextRange);
wt.Text = "some other text";

Is it possible to have the format I want ? Is it a problem of my table format ?
I use the 7.1 version of DocIO


Ramkumar M [Syncfusion]
Replied On April 5, 2012 11:52 AM UTC

Hi Julien,

Thank you for your interest in Syncfusion products.

The mentioned issue “Mismatch in order while inserting table inside a Bookmark” is fixed in our Volume 1 release (Version To overcome this issue could you please upgrade to Version from the below link


Please let us know if you have any other questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon