This is a migrated thread and some comments may be shown as answers.

[Solved] Rename Bookmark

1 Answer 114 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roger
Top achievements
Rank 1
Roger asked on 25 Jul 2011, 06:37 AM
Good day,

I am currently making my Navigation Pane with the use of bookmark.
The problem is when I would like to rename the navigation item I want to make changes of my document element.
But I can't copy the previous bookmark to the new bookmark(which is the renamed) .


thanks,

1 Answer, 1 is accepted

Sort by
0
Vesko
Telerik team
answered on 27 Jul 2011, 02:59 PM
Hi Roger,

As I have understand you want to rename an existing bookmark from your document. You can do the following:
1. Set the new name of the existing bookmark.
2. Call this.editor.Document.DocumentLayoutBox.InvalidateMeasure(); this.editor.UpdateEditorLayout();

If you have any further questions, please do not hesitate to contact us again.

Kind regards,
Vesko
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
RichTextBox
Asked by
Roger
Top achievements
Rank 1
Answers by
Vesko
Telerik team
Share this question
or