Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • a 8 posts 88 karma points
    Mar 17, 2020 @ 12:02
    a
    0

    Rich text box contains Text or Image

    Morning

    I have a rich Text Box and I need to know whether this box contains Text or an image. Then I can render the contents correctly

    What is the code for this please?

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Mar 18, 2020 @ 09:25
    Alex Skrypnyk
    0

    Hi

    You can check the html from RTE if it contains an image.

    Html Agility Pack dll is for working with html im c#

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft