This is a migrated thread and some comments may be shown as answers.

Fake or emulate "click" on "Select" button...

4 Answers 112 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
TaponiaSoftware
Top achievements
Rank 1
TaponiaSoftware asked on 30 Jul 2013, 01:10 PM

Hi Telerik Team,

is the a chance to fake the click at the select-button from JavaScript?
Reason: The user should simply click on an Image (RadBinaryImage) to start uploading Progress (and browse for Image file, of course).

I mean something like this:

function UploadImage() {               
    var upload = $find('<%=RadAsyncUpload1.ClientID%>');
    upload.click();
}

 

Thank you

 

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Jul 2013, 11:30 AM
Hi

Please have a look at this forum thread which deals with a similar scenario.

Thanks,
Shinu.
0
Shinu
Top achievements
Rank 2
answered on 31 Jul 2013, 11:30 AM
Hi,

Please have a look at this forum thread which deals with a similar scenario.

Thanks,
Shinu.
0
TaponiaSoftware
Top achievements
Rank 1
answered on 01 Aug 2013, 07:35 AM
The example in this thread seems to work with RadUpload control, but not with RadAsyncUpload control.

Any ideas?


0
Shinu
Top achievements
Rank 2
answered on 01 Aug 2013, 09:49 AM
Hi

The example provided in the thread works with RadUpload only. And below that Admin had explicitly mentioned that the same scenario cannot be achieved using RadAsyncUpload since the control uses the corresponding upload module object.

Thanks,
Shinu.
Tags
AsyncUpload
Asked by
TaponiaSoftware
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
TaponiaSoftware
Top achievements
Rank 1
Share this question
or