RadUpload and Flash

Thread is closed for posting
4 posts, 0 answers
  1. possible
    possible avatar
    77 posts
    Member since:
    Oct 2006

    Posted 25 Jul 2008 Link to this post

    Hi,

    I'm testing RadUpload with MemoryOptymization and it works great. Thanks for it. I have custom flash component that I'm using to upload multiple files (adding many input fields as telerik do is not the most comfortable option) and I want to upload files by using memory optymization technique. Is any way to do it? I did some simple tests and all fails (upload context was null).

    Regards
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 25 Jul 2008 Link to this post

    Hi tspossible,

    The latest version of RadUpload uses the native memory-optimized mechanism of ASP.NET 2.0, so you should use the Request.Files collection there.

    FYI, although I'm not familiar with the flash component you use, basically uploading files using Flash is asynchronous, so you should arrange the pages accordingly.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. possible
    possible avatar
    77 posts
    Member since:
    Oct 2006

    Posted 25 Jul 2008 Link to this post

    Hi

    My flash component does smth like that:
                        var request:URLRequest = new URLRequest();
                        request.data = sendVars;
                        request.url = _strUploadUrl;
                        request.method = URLRequestMethod.POST;
                        _refUploadFile = new FileReference();
                        _refUploadFile = listFiles.selectedItem.file;
                        _refUploadFile.upload(request, "file", false);
                      
    So it post's uploaded file. Can such upload be optimized by using radupload memory optymization?
  5. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 25 Jul 2008 Link to this post

    Hi tspossible,

    Yes, once you post the file to an ASPX page on the server (or a handler), it will benefit the memory optimization.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top