Changing values of ordered list items in HtmlTextBox

2 posts, 0 answers
  1. Aaron Abdis
    Aaron Abdis avatar
    26 posts
    Member since:
    Mar 2005

    Posted 06 Dec 2018 Link to this post

    In the report designer, I have an HtmlTextBox

    In the textbox, I have an ordered list.

    I need to change the numbering of the list to start at a value other than 1.
    Looking on line, this can be done either by setting the "start" attribute on the OL tag, or the "value" attribute on the LI tag.

        <ol start="10">

        <li value="10">

    I've tried both of those, but it doesn't work. It shows my new starting number in the HTML Value designer, but when I click OK and go back to the report designer, it still starts at 1.

  2. Silviya
    Admin
    Silviya avatar
    373 posts

    Posted 11 Dec 2018 Link to this post

    Hi Aaron,

    The start and value attributes of the ordered list element are not supported out-of-the-box. The list can only be rendered with bullets (unordered) or with numbers (orders).

    There similar feature requests in our feedback portal:
    Feel free to give your vote for them or add the comment. New features are selected for development based on the interest from the community members.

    I could suggest to try the workaround provided in the How to render any HTML tags and CSS attributes in reports KB article. An example is also available in the article.
    Briefly, you may use a WebBrowser control to render the HTML content to an image in a User Function, and display the generated image in a PictureBox item.

    Regards,
    Silviya
    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