Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Thanx Johan
But everywhere I look, people have used string. How's this possible?
Hi everyone
I'm trying to add an image property to a pagetype in cms7 but I keep getting the error above.
This is how I've added it to the pagetype:
[BackingType(typeof(PropertyImageUrl))]
[Display(
Name = "Image",
Description = "Image",
Order = 3)]
public virtual string ImageUrl { get; set; }
But all I get is Unable to cast object of type 'EPiServer.Url' to type 'System.String'. when I try to choose an image.
Anyone that know what might be wrong?