Title: Place holder tag in rich text document.

4 posts, 1 answers
  1. Anand
    Anand avatar
    30 posts
    Member since:
    Jul 2014

    Posted 15 Mar Link to this post

    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?
  2. Answer
    Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 17 Mar Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Anand
    Anand avatar
    30 posts
    Member since:
    Jul 2014

    Posted 17 Mar in reply to Mihail Link to this post

    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

  5. Anand
    Anand avatar
    30 posts
    Member since:
    Jul 2014

    Posted 11 Apr in reply to Anand Link to this post

    Hi,

    Any updates on the above please ?

    Regards

    Anand

Back to Top