show chemiscal formula in telerik report?

7 posts, 1 answers
  1. dang
    dang avatar
    2 posts
    Member since:
    Feb 2009

    Posted 26 Feb 2009 Link to this post

    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
  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 26 Feb 2009 Link to this post

    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.
  3. DevCraft banner
  4. dang
    dang avatar
    2 posts
    Member since:
    Feb 2009

    Posted 26 Feb 2009 Link to this post

    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?
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 26 Feb 2009 Link to this post

    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.
  6. Ristogod
    Ristogod avatar
    63 posts
    Member since:
    Aug 2008

    Posted 03 Nov 2011 Link to this post

    Has this feature been added yet? We need to do subscripts and there is no known characters to do it.
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 Nov 2011 Link to this post

    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.

  8. Kevin Y
    Kevin Y avatar
    6 posts
    Member since:
    Oct 2010

    Posted 03 Nov 2011 Link to this post

    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.
       
Back to Top
DevCraft banner