Call Select from outside

3 posts, 0 answers
  1. Moroianu George-Gabriel
    Moroianu George-Gabriel avatar
    7 posts
    Member since:
    Feb 2010

    Posted 24 Jan 2011 Link to this post

    Hi,
    I have a question regarding AsyncUploader. I use this control to upload multiple files(images) and everything is working perfect. But I have a great problem regarding the layout. What I need is a button to call the function that the button " Select " calls it. I mean a button called "Load Photos" for example, which once clicked to open the window "Open" where I can select the files I need. A js script is perfect, a code behind will do also.
    Thank you in advance,
    Moroianu George
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 27 Jan 2011 Link to this post

    Hi Moroianu,

    In general it's not possible to open the select dialog window through javascript function. This kind of scenarios is not supported by all browsers. Since you would like to open this dialog through button click event, why don't you use the existing select button and just change it's name to "Load Photos".
    In order to change the text use the following property Localization-Select="Load Photos".

    Kind regards,
    Dimitar Terziev
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Moroianu George-Gabriel
    Moroianu George-Gabriel avatar
    7 posts
    Member since:
    Feb 2010

    Posted 27 Jan 2011 Link to this post

    Hi,
    I am sorry, I think that I was not very clear. :) My problem is that i need some changes in layout, the Load Photos button to remain in the same <span> with others buttons and the list of the loaded photos to be in another one. I understood that is not possible to make this modification in the asyncuploader, and I was wondering if it is possible to call the event from outside. Now I see that is not possible also... I will check other ways...
    But, if you have other sugestions, please tell me! :)
    Thank you for your time, 
    Moroianu George
Back to Top