ASPX templates
Version 7.x > ASPX templates > Uploading an image to CMSEditableImage programmatically... View modes: 
User avatar
Member
Member
bdesilva-itravel2000 - 5/2/2013 9:49:38 AM
   
Uploading an image to CMSEditableImage programmatically...
Hi,

I need to upload an image to a CMSEditableContent region programmatically so on page load, this default background image shows up which users or administrators can change to whichever background they like.

I'm not finding an image property in the code behind/API so can someone please help in showing me how to accomplish this task?

Thanks very much.

Ben.

User avatar
Member
Member
bdesilva-itravel2000 - 5/2/2013 10:26:38 AM
   
UPDATE: Uploading an image or VIdeo or any content via HTML CMS Content placeholder...
Actually, this should any html contnet, so a link to an image, or a video, etc...

How can I achieve this programmatically and which control should I use?

Thanks again.

Ben.

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 5/3/2013 1:03:40 AM
   
RE:UPDATE: Uploading an image or VIdeo or any content via HTML CMS Content placeholder...
Hello,

This is quite unusuall request, could you please more describe the scenario of what you want to do? Could you please provide us with some screenshot of where do you want this image to be shown?

Also the Kentico UI, especially the page/design tab which you are most propably referring to is very complicated and the customization of this might not be possible or will be very hard.

Kind regards,
Richard Sustek