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

Forums / Suggestions / please make default upload library selectable for image picker

please make default upload library selectable for image picker

4 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    29 May 2009
    Link to this post
    In previous version, I modified the ImageEditorDialog to automatically select a default upload folder based on the users role.

    unfortunately with the latest sitefinity (3.6sp2) by default, the provider matches the library to the user NAME, and if not found, automatically selects the FIRST library regardless of what it is.

    I don't want my users dumping all of their images because they neglect to change the library (and believe me, they will) so I want to be able to control which library is selected based on their role.

    unfortunately, the SelectedLibrary property is a PRIVATE variable in the ImageEditorDialog control, so I have no way of overriding the default behavior described above.

    Please consider changing this in the next version, and if there is ANY WAY to work around this, please let me know, because we really need this feature back...
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    30 May 2009
    Link to this post
    Hi SelArom,

    unfortunately with the latest sitefinity (3.6sp2) by default, the provider matches the library to the user NAME, and if not found, automatically selects the FIRST library regardless of what it is.

    The first library is selected by default until the user change it. As you have noticed this is done in the code, so that there is no temporarily workaround.  We have logged your requirement as a feature request.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. James Reategui
    James Reategui avatar
    22 posts
    Registered:
    14 Oct 2008
    02 Jun 2010
    Link to this post
    Is there a way to do this now in version 3.7 SP3?
    ie. setting the default image library in the image library dialog...

    Thanks!
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    03 Jun 2010
    Link to this post
    Hi James,

    It is not supported out of the box. This requires implementing a custom selector as described in this forum post

    All the best,
    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.
Register for webinar
4 posts, 0 answered