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

Title: Place holder tag in rich text document.

3 Answers 53 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 15 Mar 2016, 05:24 PM
Is it possible to add a place holder tag to a rich text document? As for example, it might look like this
<t:section>
                <t:paragraph>
                </t:paragraph>
                <custom:Placeholder />
                <t:paragraph>
                </t:paragraph>
</t:section>

And in this case, telerik will just ignore the place holder tag and load the document ignoring them. All the document operation will be performed ignoring the place holder tag. 
This is kind of feature or behaviour available or possible?

3 Answers, 1 is accepted

Sort by
0
Accepted
Mihail
Telerik team
answered on 17 Mar 2016, 09:45 AM
Hello Anand,

Could you provide more detailed information on what is the exact purpose of this placeholder?
Is the content of this placeholder going to be visible in RadRichTextBox or you are going to use it only to store information?
Is this placeholder going to be exported or only imported from XAML format?
Any additional information is welcomed.

Regards,
Mihail
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Anand
Top achievements
Rank 1
answered on 17 Mar 2016, 01:25 PM

Hi Mihail,

 

Thanks for the quick response.

I need to be able to have a table tag without any tableRow child inside. In a RadRichTextBox, we can have that but if we try to perform some operation, it crashes. 
So in case of a table which does not have any row, I will be removing that table and add that placeholder tag at that position so that I can bring that table back later on. That is the purpose of that placeholder tag.
The content of the placeholder tag will not be visible in RadRichTextBox. This is used just to store information.
The RadDocument containing the placeholder will be both imported and exported from XAML format.

Regards

Anand

0
Anand
Top achievements
Rank 1
answered on 11 Apr 2016, 12:27 PM

Hi,

Any updates on the above please ?

Regards

Anand

Tags
RichTextBox
Asked by
Anand
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Anand
Top achievements
Rank 1
Share this question
or