locked
RDLC Report Rich Text Editor Formatting Image Issue RRS feed

  • Question

  • Hi,

    I have save the rich text editor values as html format in database. By using RDLC report designer, format the text by "Placeholder Properties- > HTML - Interpret html tag as style".

    All tag has been formatted and Text have been  display as expected. But image not displaying. The images is saved in DB like "<img width="575" height="211" src="data:image/png;base64,R0lGODlhPwLTAHcAMSH+..........".

    Kindly anyone help me to rectify this issue.

    Thanks in advance,


    • Edited by MSVelu Friday, April 17, 2020 4:51 AM spelling mistake
    Thursday, April 16, 2020 8:24 AM

Answers

  • Hi MSVelu,

    Unfortunately, the <img> tag is not supported.

    The following is a complete list of tags that will render as HTML when defined as placeholder text:

    • Hyperlinks: <A HREF>
    • Fonts: <FONT>
    • Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
    • Text format: <B>, <I>, <U>, <S>
    • List handling: <OL>, <UL>, <LI>

    Any other HTML markup tags will be ignored during report processing.

    Please refer to Supported HTML Tags for more details.

    Best Regards,

    Amelia


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by MSVelu Friday, April 17, 2020 4:46 AM
    Friday, April 17, 2020 3:14 AM

All replies

  • Hi MSVelu,

    Unfortunately, the <img> tag is not supported.

    The following is a complete list of tags that will render as HTML when defined as placeholder text:

    • Hyperlinks: <A HREF>
    • Fonts: <FONT>
    • Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
    • Text format: <B>, <I>, <U>, <S>
    • List handling: <OL>, <UL>, <LI>

    Any other HTML markup tags will be ignored during report processing.

    Please refer to Supported HTML Tags for more details.

    Best Regards,

    Amelia


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by MSVelu Friday, April 17, 2020 4:46 AM
    Friday, April 17, 2020 3:14 AM
  • Hi Amelia,

    Thanks for the answer.

    Friday, April 17, 2020 4:47 AM