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

Forums / Developing with Sitefinity / Upload to a specific Library

Upload to a specific Library

2 posts, 0 answered
  1. Tech
    Tech avatar
    26 posts
    Registered:
    13 Sep 2010
    16 Feb 2011
    Link to this post
    Greetings,

    I am trying to use the existing Documents and Images upload dialogs, in conjunction with a RadEditor to allow authenticated users to upload Images to their own library.  For example, I have a series of users that will have their own content areas (sort of like a blog, but not really) on the site, where they will want to upload images to then be used in the content they post using a RadEditor. These users do not have access the the Sitefinity admin area so all of their tools would be public-facing, assuming they've logged in.

    I've created a separate version of the EditorToolsFile.xml to include the appropriate controls, and created a copy of the ~/Sitefinity/UserControls/Dialogs/ImageEditorDialog.aspx file and have them all connected and working.  I've made a separate version of the ~/Sitefinity/Admin/ControlTemplates/Libraries/Dialogs/ImageEditorDialog.ascx file so I can make some small changes to the interface as well as removing the ability to select a different library (I just hid those controls).

    However, I'm stuck now.  I need to be able to tell the Upload dialog to always use a particular Library (based on the authenticated user), and always use that library when selecting images to display.  I tried looking at the LibrarySelector control, and the RadUpload controls, but I can't seem to find a way to tell either of these things to use a particular library.

    Can someone point me in the right direction as to how I might do this?

    Thanks much!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    22 Feb 2011
    Link to this post
    Hi Phillip,

    Please take a look at this forum post.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered