HTML data-* Attributes

2 posts, 0 answers
  1. sebastiaan
    sebastiaan avatar
    1 posts
    Member since:
    Nov 2016

    Posted 11 Oct Link to this post

    Is it possible to add the HTML data-* Attributes as extra attributes on a Text element in the Telerik report viewer.

    For a localization plugin we need to add data-resource-id="id" as HTML data- tag to the text to allow interactive resoure editing. 

  2. Katia
    Admin
    Katia avatar
    600 posts

    Posted 16 Oct Link to this post

    Hello sebastiaan,

    HTML-formatted text can be displayed in report using HtmlTextBox item. However, HtmlTextBox works only with text formatting options and data attributes will not be parsed by this item, the full list of the supported HTML tags and CSS attributes is provided in the above mentioned article.

    If the report needs to be localized I recommend the approach suggested in Localizing Reports help article.


    Regards,
    Katia
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top