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

Add hidden data to a document

3 Answers 37 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Christoph
Top achievements
Rank 1
Christoph asked on 22 Feb 2012, 03:11 PM
Hi

I'd like to add some hidden data to a RadDocument of a RadRichTextBox.
Our Documents are based on template documents - when creating a new
doc I'd like to add the name of the template in a hidden place inside
the Document.


How can I do it?

Grettings,
Chris

3 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 22 Feb 2012, 05:18 PM
Hello Chris,

 You can keep "hidden" information in the document using custom annotations. This will enable you to store semantic user data in the document. Check our structured content editing demo at http://demos.telerik.com/silverlight/#RichTextBox/StructuredContentEditing and if you experience any difficulties in implementing a similar use-case, feel free to contact us again.

Greetings,
Martin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Christoph
Top achievements
Rank 1
answered on 23 Feb 2012, 01:09 PM
Hello Martin

Thanks a lot for your reply. Custom Annotations are probably what I am looking for.
I'll probably be back with some questions concering the implementation details.
"Structured Contenet editing" by the way, is a good demo also for making
only parts of the document editable.

Thanks,
Chris
0
Martin Ivanov
Telerik team
answered on 24 Feb 2012, 10:29 AM
Hi Christoph,

I am really glad that you find our demo useful. Please find attached an article we are preparing that will be published on Telerik Blogs in few days on the matter. Hopefully it can bring some light on the problems. Don't hesitate to contact us in case you have any questions.

All the best,
Martin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RichTextBox
Asked by
Christoph
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Christoph
Top achievements
Rank 1
Share this question
or