Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
’ alt=”” />
OR,
’ alt=”” />
protected static string GetThumbnailImage(PageData pd)
{
return (pd["Image55x74"] != null ? pd["Image55x74"] : "default.gif");
}
Both solutions expect the Property Image55x74 to be a string. If not – you have to cast it to a string.
protected static string GetThumbnailImage() { if (Container.CurrentPage["Image55x74"] != null) return (Container.CurrentPage["Image55x74"]); return "default.gif"; }
The aspx could look something like this: