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

2 posts, 0 answers
  1. Timothy
    Timothy avatar
    1 posts
    Member since:
    Jan 2012

    Posted 17 Aug 2012 Link to this post


    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.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 11 Sep 2012 Link to this post

    Hi Timothy,

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

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

    In this RadAsyncUpload the ID of the input is RadAsyncUpload1file0.

  3. DevCraft R3 2016 release webinar banner
Back to Top