Can same uploader be fired from multiple InsertButtonIDs?

Last post 04-04-2011, 9:21 AM by zigzag. 2 replies.
Sort Posts: Previous Next
  •  04-02-2011, 9:25 PM 66967

    Can same uploader be fired from multiple InsertButtonIDs?

    Hi,
     
    I am pretty new to web programming and don't know much Java Script.
    I have an ajax uploader and few LinkButtons on one page. How can I fire up the uploader (I mean the browse windows comes up) by clicking any of the LinkButtons? Can I specify multiple LinkButtons in the InsertButtonId property of the uploader?
    Any solution will be appreciated.
     
     
  •  04-04-2011, 2:57 AM 66976 in reply to 66967

    Re: Can same uploader be fired from multiple InsertButtonIDs?

    Hi zigzag,
     
    For now, AjaxUploader does not support this feature.
     
    I suggest you use multiple uploaders on the page. and not point to the same uploader.
     
    Regards,
     
    Ken
  •  04-04-2011, 9:21 AM 66980 in reply to 66976

    Re: Can same uploader be fired from multiple InsertButtonIDs?

    Thanks Ken.
    I tried using -
        function OnButtonClick() {
            var uploader = document.getElementById('<%=MyUploader.ClientID%>')
            uploader.startbrowse();
        } 
     
    But Google Chrome is blocking it. So I guess I'll use multiple uploaders.
View as RSS news feed in XML