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(). 

    Thanks
  2. Rumen
    Admin
    Rumen avatar
    12851 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
    }
    </script>

    Please, examine the following sample project for more information: http://www.telerik.com/ClientsFiles/267586_ExtendedAsyncUpload.zip.

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

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top