Uploading Duplicated?

2 posts, 1 answers
  1. TheLostLeaf
    TheLostLeaf avatar
    34 posts
    Member since:
    Feb 2007

    Posted 20 May 2011 Link to this post


    I have the async upload working in grids, with saving to disk, sql or Azure. Everything works great.

     When I upload to Azure though, it seems the progress bar is for the progress of the temp file going to server, then it takes the same amount of time with the blinking yellow light, to complete the upload to Azure.

    Is this normal? Or can I bypass the temp file going to the web server and go straight to Azure ?


    <telerik:RadAsyncUpload  runat="server" ID="RadAsyncUpload1"  
                           OnClientFilesUploaded="filesUploaded" HttpHandlerUrl="~/AzureHandler.ashx"
             MultipleFileSelection="Automatic" Width="300px">
    public class AzureHandler : AsyncUploadHandler, System.Web.SessionState.IRequiresSessionState
           protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
              SampleAsyncUploadResult result = CreateDefaultUploadResult<SampleAsyncUploadResult>(file);
              SampleAsyncUploadConfiguration sampleConfiguration = configuration as SampleAsyncUploadConfiguration;
               string container = null;
               if (sampleConfiguration != null)
                   container = sampleConfiguration.ContainerName;
                   result.ImageID = InsertImage(file, container, sampleConfiguration.MetaTags);
               // Populate any additional fields into the upload result.
               // The upload result is available both on the client and on the server
               return result;
           public int InsertImage(UploadedFile file, string containerName, string metaTags)
               AzureAcess.UploadToCloud(containerName, file, metaTags);
               return 0;
  2. Answer
    Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 25 May 2011 Link to this post

    Hello Eric,

    Thank you for contacting Telerik Support.

    Straight to your question. Yes, it is normal. Unfortunately, it is not possible to bypass the uploading file straight to Azure.

    I hope this helps. Please let me know if I can assist you further.

    Peter Filipov
    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