+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Uploading images using User control

Uploading images using User control

6 posts, 0 answered
  1. Joachim Karlsson
    Joachim Karlsson avatar
    8 posts
    Registered:
    04 May 2010
    04 May 2010
    Link to this post
    Hey, first i gotta say this is an awesome system.

    at our company we have a "flash slide show" for pictures.
    What im supposed to do is a user control that you can upload as many images and add a link to image(optional)
    aswell. And then save it to an xml file(with path and image link)

    I have no clue whatsoever and i dont know where to start, only thing i figured out so far is how to upload my usercontrol. 

    Anyone know, or could possible point me in the right direction?

    Regards.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 May 2010
    Link to this post
    Hi Joachim Karlsson,

    You could create a custom or user control that uses RadEditor control

    You could loop through the files that are being uploaded

    foreach (UploadedFile file in RadUpload1.UploadedFiles)
     {
       // add your logic here
     }


    get the file name ( file.GetName()) and save path location which you can use to build your XML file and its node. Finally you need to bind your control the the XML datasource which you are going to use.
    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Joachim Karlsson
    Joachim Karlsson avatar
    8 posts
    Registered:
    04 May 2010
    08 May 2010
    Link to this post
    thanks, But i want to make it like this.


    I want to create a custom template for editing, When you press EDIT on the "flash" object you should be able to upload images there.. But i have no clue how to create that, what i have tested havent worked so far.

    Sorry if i sound retarded, im all new to this.. And we use it alot at my work.. so i gotta learn this :P

    Regards Joachim.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    09 May 2010
    Link to this post
    Hi Joachim Karlsson,

    I believe that you need - Custom control designer.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Joachim Karlsson
    Joachim Karlsson avatar
    8 posts
    Registered:
    04 May 2010
    10 May 2010
    Link to this post
    yeah thats it, cheers mate!
  6. Joachim Karlsson
    Joachim Karlsson avatar
    8 posts
    Registered:
    04 May 2010
    27 May 2010
    Link to this post
    Hello Dev team.
     im basically done with my usercontrol now, but i got one problem..

    My flash object doesnt want to show.. And toughts about that?


    Regards
    Joachim.
Register for webinar
6 posts, 0 answered