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

HTML Text on Report with some Space

4 Answers 73 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
CHRISTIAN
Top achievements
Rank 1
CHRISTIAN asked on 12 Jul 2013, 06:07 AM

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?

4 Answers, 1 is accepted

Sort by
0
CHRISTIAN
Top achievements
Rank 1
answered on 15 Jul 2013, 06:28 AM
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.
0
Alexander
Telerik team
answered on 16 Jul 2013, 01:25 PM
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 >>
0
CHRISTIAN
Top achievements
Rank 1
answered on 17 Jul 2013, 08:02 AM
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.
0
Stef
Telerik team
answered on 22 Jul 2013, 10:36 AM
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.

Tags
RichTextBox
Asked by
CHRISTIAN
Top achievements
Rank 1
Answers by
CHRISTIAN
Top achievements
Rank 1
Alexander
Telerik team
Stef
Telerik team
Share this question
or