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 5908 posts 22603 karma points MVP 4x 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

     

  • 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