Set file back to radsyncupload

Thread is closed for posting
3 posts, 0 answers
  1. Catherine
    Catherine avatar
    1 posts
    Member since:
    Dec 2013

    Posted 06 Dec 2013 Link to this post

    I have a radsyncupload to upload my file, after upload i need to bind the filename to a grid. 
    Inside grid, i have a edit button, when i click edit button, i need to put back the filename to radsyncupload for user to edit.
    Is it possible to do that?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Dec 2013 Link to this post

    Hi Catherine

    Check the following demo which explains about your scenario 
    Grid - Binary Images and RadAsyncUpload in Grid
    Hope this helps

  3. DevCraft R3 2016 release webinar banner
  4. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 10 Dec 2013 Link to this post

    Hi Catherine,

    Unfortunately it is not possible. Due to security reasons it is not allowed to load files into the RadAsyncUpload from the server. Also it does not expose any properties or methods to set the text in the file input. I would suggest that you display the file name inside other container like Label or TextBox. For example you may set the HideFileInput property of RadAsyncUpload to "true" and put the standard ASP.NET Textbox, where you can display file name.

    Hristo Valyavicharski
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top