More in this section
Forums / Developing with Sitefinity / Default library for buttonselector

Default library for buttonselector

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Saumitra
    Saumitra avatar
    127 posts
    10 Mar 2009
    12 Apr 2011
    Link to this post

    I'm developing a website with Sitefinity 3.7 Standard Edition. I have a requirement where I need to upload files from two different intra-site modules. I'm using the Sitefinity ButtonSelector control for that. The issues is that everytime I change the default library in one of the modules while uploading files, the other module also starts referring that library as the default one. So if the user does not notice that in the other module, the file gets uploaded in the wrong library. I want to define seperate default libraries for both the modules which will change only if the user wants to change for that module only.

    I hope I'm clear in defining my requirement. Please let me know how do I acheive this.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    13 Apr 2011
    Link to this post
    Hi Saumitra,

    You can create a separate template for the button selector used in the second module. The templates that the default ButtonSelector uses are located inside


    another option is creating a custom selector and filter the library based on the request.

    All the best,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered