Search In
Learn from 350 other Umbracians at the annual Umbraco Conference - CodeGarden '13. More than twenty high quality sessions, open spaces, hackathons and social events you'll remember. Not to be missed! Less than 25 tickets left - get yours now!
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??
Tom, could you please try the following
if(!Model.myImage.ToString().equals(""))
Thanks,
Rajeev