HTML Text on Report with some Space

5 posts, 0 answers
  1. CHRISTIAN
    CHRISTIAN avatar
    39 posts
    Member since:
    Nov 2010

    Posted 12 Jul 2013 Link to this post


    I need something like this on my report:

    Textfoo:      Text
    Text:           Text

    I guess it´s not possible with a RichTextBox since it doesn´t support TabStops.
    But what else could i use?
  2. CHRISTIAN
    CHRISTIAN avatar
    39 posts
    Member since:
    Nov 2010

    Posted 15 Jul 2013 Link to this post

    I could realy use some help here.. or is anything unclear?

    Our Customers want to design some own text on their reports. And something like a tabstop is necessary.
  3. DevCraft banner
  4. Alexander
    Admin
    Alexander avatar
    41 posts

    Posted 16 Jul 2013 Link to this post

    Hello Christian,

    Actually, TabStops are supported in RadRichTextBox, however they cannot be exported to HTML and there is no proper analog of the feature.

    You can achieve this text alignment easily, using  a Table without borders. You can read about Tables in the following article. Note that you will need to set the correct alignment for the cells in the Table.

    I hope this is helpful. Please, do not hesitate to contact us if you have any other questions.

    Regards,
    Alexander
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. CHRISTIAN
    CHRISTIAN avatar
    39 posts
    Member since:
    Nov 2010

    Posted 17 Jul 2013 Link to this post

    Hi Alexander,

    that doesn´t work. Looks like the Report don´t support tables.
    I´ve attached two screenshots, a Table in the Editor and what the Report produces out of the HTML code.

    Right now i´m trying to put underlines instead of space and convert them in   in HTML. But thats just awkward.
  6. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 22 Jul 2013 Link to this post

    Hi Christian,

    Telerik Reporting HtmlTextBox item does not support all HTML elements and CSS attributes. For more details about the item, please take a look at the HtmlTextBox help article. Try using the dedicated for table structures items as the Table, List and Crosstab items.

    One way to have an HTML with the non supported elements would be to convert the HTML to an image and use that image in your reports with a PictureBox item. Check out the HTML to Image in C# codeproject article.

    If you need further help regarding Telerik Reporting, use our forum or open a support ticket with your questions.

    Regards,
    Stef
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Back to Top
DevCraft banner