Porting RadUpload to RadCloudUpload

3 posts, 0 answers
  1. Richard
    Richard avatar
    72 posts
    Member since:
    Feb 2009

    Posted 19 May Link to this post

    I'm working on porting a Silverlight project to WPF, both projects use the telerik controls which has made it surprisingly easy (thank you).

    However, I'm now trying to port an upload page that uses the Silverlight RadUpload control to the WPF RadCloudUpload and I'm not sure where to start. The target of the upload is an asp.net website; do you have any examples of wiring up RadCloudUpload to asp.Net using something like the RadUploadHandler target that RadUpload uses? 

    Thanks,

    Richard

  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 23 May Link to this post

    Hi Richard,

    RadCloudUpload for WPF is not quite different then the RadUpload for Silverlight control. This is why there is no straight forward approach for migrating between the controls. Also, there is no an example as the one you are asking for. 

    RadCloudUpload works with storage providers. In order to work with the control and your custom storage service you will need to implement a custom provider that posts and gets request to the service. In order to get started with the cloud upload control I suggest you to read its documentation and see its First Look demo which demonstrates how to create a custom provider.

    Regards,
    Martin
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Richard
    Richard avatar
    72 posts
    Member since:
    Feb 2009

    Posted 24 May in reply to Martin Link to this post

    Hi Martin,

    Thank you for your reply, I looked at your links and at the SDK examples. To be honest it looked more complicated than I needed.
    In the end I used the WebClient class to upload the file to my Asp.Net site. It had everything I needed including an async method and progress state that allowed me to wire it up to a progress bar and recreate the RadUpload functionality I was looking for. 

    For anyone else looking to do this here is a working example from Microsoft.

    https://msdn.microsoft.com/en-us/library/36s52zhs(v=vs.110).aspx

    Thanks,
    Richard
Back to Top