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

What determines the ID for the HTML file input in the AsyncUploader

1 Answer 45 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Timothy
Top achievements
Rank 1
Timothy asked on 17 Aug 2012, 06:59 PM
Hello,

I am working on some automated UI tests, and would like to automate some uploading with the RAD AsyncUploader.  It is my understanding that the uploader renders as <input type="file">  I was wondering if anyone knows what the ID for this input is?  Does it use the ID you gave to the RadAsyncUpload control itself? 

Any insight on this would be greatly appreciated.

Thanks,
Tim

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Sep 2012, 10:42 AM
Hi Timothy,

You can use add ons like Firebug to find the ID of the input that is rendered in RadAsyncUpload.

ASPX:
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1">
</telerik:RadAsyncUpload>

In this RadAsyncUpload the ID of the input is RadAsyncUpload1file0.

Regards,
Princy.
Tags
AsyncUpload
Asked by
Timothy
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or