London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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?