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

AsyncUpload access

1 Answer 53 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Shaun
Top achievements
Rank 1
Shaun asked on 16 May 2011, 06:56 PM
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

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 May 2011, 09:34 AM
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.

Tags
FileExplorer
Asked by
Shaun
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or