I'm trying to save a picture and then display the picture on a new page. The picture is a EPi-Server property of the type URL to picture. The picture is suppose to be added from the webpage, not in editmode. (It works just fine in editmode...)
The code for the EPiServerproperty looks like this
The code when i'm trying to save looks something like this:
PageData newPage = Global.EPDataFactory.GetDefaultPageData(CurrentPage.PageLink, CurrentPage.PageTypeID);
newPage["ParticipantPicture"] = imgParticipantpicture;//
Something is missing on the line where i'm saving "imgParticipantpicture" but what???
The code when i'm trying to save looks something like this:
PageData newPage = Global.EPDataFactory.GetDefaultPageData(CurrentPage.PageLink, CurrentPage.PageTypeID); newPage["ParticipantPicture"] = imgParticipantpicture;//
Something is missing on the line where i'm saving "imgParticipantpicture" but what???