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 6182 posts 24283 karma points MVP 8x 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies