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

show chemiscal formula in telerik report?

6 Answers 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dang
Top achievements
Rank 1
dang asked on 26 Feb 2009, 06:09 AM
I save chemiscal formula into sql2005 (ex: H2O, 2 is subscript by richtextbox format rtf), i want to show this formula in telerik report but i don't know . Can anyone help me?
Thank you

6 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 26 Feb 2009, 08:32 AM
Hi dang,

You can convert your text with the sub/sup scripts into images and store those images into your database. Then use the picturebox item to show them where necessary.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
dang
Top achievements
Rank 1
answered on 26 Feb 2009, 09:05 AM
Thank you, Steve
I know this solution, but i want to load in report by textbox by any way, is it possible?
Ex: use a new font support chemiscal formular in telerik report?
0
Steve
Telerik team
answered on 26 Feb 2009, 09:12 AM
Hi dang,

We are working on HTML textbox at the moment, but the sub and sup html tags are not going to be supported just yet, so using images is the way to go for now.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ristogod
Top achievements
Rank 2
answered on 03 Nov 2011, 03:49 PM
Has this feature been added yet? We need to do subscripts and there is no known characters to do it.
0
Steve
Telerik team
answered on 03 Nov 2011, 04:16 PM
Hi Ristogod,

We've been working on performance and memory optimizations for the past few releases and have not added new features to report items. Currently this is logged in our system with low priority and once we start working on it, we would update our Roadmap.

All the best,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

0
Kevin Y
Top achievements
Rank 1
answered on 03 Nov 2011, 04:57 PM
I discovered a workaround for this problem.

On your report,
 1) use a Telerik.Reporting.HtmlTextBox
 2) the content string contains
H<FONT size="1">2</FONT>O

NOTE:  The documentation for Telerik Reporting HtmlTextBox reports that the font size relative works, but I could not get it to work.

It would be better if the HTML subscript and superscript tags worked.
   
Tags
General Discussions
Asked by
dang
Top achievements
Rank 1
Answers by
Steve
Telerik team
dang
Top achievements
Rank 1
Ristogod
Top achievements
Rank 2
Kevin Y
Top achievements
Rank 1
Share this question
or