Copied to clipboard

Flag this post as spam?

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


  • Kate 267 posts 610 karma points
    Sep 09, 2013 @ 14:01
    Kate
    0

    Check if there is any content in the RichTextEditor

    How do I check if there is content in my editor?
    I have tried this:

    @if(Model.bodyTextDestination != ""){
    @Model.bodyTextDestination
    }


  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Sep 09, 2013 @ 14:48
    Alex Skrypnyk
    0

    Hi Kate,

    When do you try to check any content ? during post back ? 

    THanks,

    Alex

  • Kate 267 posts 610 karma points
    Sep 09, 2013 @ 14:59
    Kate
    0

    Sorry, total new at this.

    In my scripting file I just want to check if there is any content in the text editor.
    If there is, I also whant an images to appear and after the images the content from the editor.

    If there is no content then the images shall not appear

     

Please Sign in or register to post replies

Write your reply to:

Draft