4 posts, 0 answers
  1. Andrea
    Andrea avatar
    13 posts
    Member since:
    Nov 2008

    Posted 26 Nov 2008 Link to this post

    I would like to elaborate file client side before snding it to server. How can I do it? 
  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 02 Dec 2008 Link to this post

    Hi Andrea,

    Yes, you can modify the file on the client side before sending it. The easiest way to do this is to handle the FileUploadStarting event. There you have the original file and you can choose what the actual uploaded stream will be by setting the NewFilestream property.

    void upload_FileUploadStarting(object sender, FileUploadStartingEventArgs e)     
        var selectedFile = e.SelectedFile.File;     
        // set the new file steam to whatever you like:     
        //e.NewFileStream = ....     

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
  4. Gurpreet Singh
    Gurpreet Singh avatar
    15 posts
    Member since:
    Jan 2010

    Posted 17 Oct 2012 Link to this post


    I am using RadUpload.
    I just want to access file content on client side.
    Can I use RadUpload control without setting UploadServiceUrl (without handler file) ?

    How can use RadUpload control on client side only to access file content ?

  5. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 17 Oct 2012 Link to this post

    Hi Gurpreet,

    The RadUpload control is designed to allow you to easily select and upload files on a server. This is why in your case, it might be better to use the OpenFileDialog to open a file on the client and manipulate it as you need to.

    All the best,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top