Problem with AsyncUpload and User Control .ascx files

2 posts, 0 answers
  1. Brett
    Brett avatar
    72 posts
    Member since:
    Mar 2012

    Posted 22 Jun 2014 Link to this post

    I am having issues using the AsynUpload control and .ascx files.  It's almost like it doesn't work with them at all.  I try to use the clientside development and the server side development and either I get errors or it just doesn't fire.  What can I do to alleviate this issue?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Jun 2014 in reply to Brett Link to this post

    Hi Brett,

    The provided information is not enough to replicate the issue. Please have a look into the sample code snippet which works fine at my end. 

    <uc1:Asyncupload ID="Asyncupload1" runat="server" />

    <telerik:RadAsyncUpload ID="rasyncuploadUserControl" runat="server" OnClientFileUploaded="getFileName">
    <telerik:RadButton ID="rbtnUpload" runat="server" Text="Upload" OnClick="rbtnUpload_Click">

    function getFileName(sender, args) {

    protected void rbtnUpload_Click(object sender, EventArgs e)
        int uploadedFileCount = rasyncuploadUserControl.UploadedFiles.Count;

  3. DevCraft R3 2016 release webinar banner
Back to Top