Copied to clipboard

Flag this post as spam?

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

  • Tom 630 posts 795 karma points
    Jul 19, 2011 @ 02:28

    Proper Check for property?

    Hi All,

    if I have a media picker what would be the proper check for to see if it is populated.. i.e @if(Model.myImage != DynamicNull)???


    This is what is really throwing me learning razor.. knowing what to appropriately check for??

  • Rajeev 126 posts 153 karma points
    Jul 19, 2011 @ 03:50

    Tom, could you please try the following






Please Sign in or register to post replies

Write your reply to:

Draft is the community mothership for Umbraco, the open source cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.5.6