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

HTML data-* Attributes

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sebastiaan
Top achievements
Rank 1
Sebastiaan asked on 11 Oct 2017, 03:21 PM

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. 

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 16 Oct 2017, 11:06 AM
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
Tags
General Discussions
Asked by
Sebastiaan
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or