AsyncUpload access

2 posts, 0 answers
  1. Shaun
    Shaun avatar
    2 posts
    Member since:
    May 2011

    Posted 16 May 2011 Link to this post

    Hi is there any way in which I can access the AsyncUpload control used in the FileExplorer control? I need to use some client side functions related to the AsyncUpload from the FileExplorer such as OnClientFilesSelected(). 

  2. Rumen
    Rumen avatar
    14320 posts

    Posted 19 May 2011 Link to this post

    Hello Shaun,

    You can get reference to the RadAsyncUpload through the RadFileExplorer's AsyncUpload server-side property. You can assign a handler to the RadAsyncUpload's OnClientFileSelected
    client event via the codebehind:

    RadFileExplorer1.AsyncUpload.OnClientFileSelected = "OnClientFileSelected"; 

    In the aspx page add:

    <script type="text/javascript">
    function OnClientFileUploaded(asyncUpload, args)
          //do something

    Please, examine the following sample project for more information:

    Kind regards,
    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.

Back to Top