Use RadUpload in C# code

2 posts, 0 answers
  1. Chen
    Chen avatar
    18 posts
    Member since:
    Apr 2012

    Posted 06 Aug 2012 Link to this post

    I have the following code to try to use RadUpload in Code,
    private RadUpload _attUpLoad = new RadUpload();
    _attUpLoad.UploadServiceUrl = WcfServiceHelper.ResolveUri("ExternalFileUpload.ashx").ToString();
    _attUpLoad.FileUploaded += AttUpLoad_FileUploaded;
    _attUpLoad.IsAutomaticUpload = true;
    I did not find the property of the RadUpload to allow me to add the file name list to be uploaded.

    And is this the right way to use RadUpload in code without user interface?

    Any help is appreciate.
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 07 Aug 2012 Link to this post

    Hi Chen,

    This is indeed the right approach for using the RadUpload control in code-behind. You only need to add the files for upload and you can have a look at this tutorial to learn how. Let me know if it helps or if we can further assist you.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top