Retrieving file from a imagebutton when it is already saved in sql db

Thread is closed for posting
2 posts, 0 answers
  1. Carina
    Carina avatar
    41 posts
    Member since:
    Nov 2012

    Posted 11 Jan 2013 Link to this post

    Hi,

    I have a form where I will be uploading a file and filling more details about that file in the form and then saving it to the database. When I open up the form again, it shows all the fields saved, except the attachement of the file I had previously saved. I want to have the image button where in the initial form, the file is saved on and can be retrieved from before closing the form. I am working in vb.net. Any help with this?
  2. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 16 Jan 2013 Link to this post

    Hello Carina,

     
    This behavior is expected because you can persist the uploaded file over PostBack only if the control is rendered on the page as it is explained in this help topic.

    Hope this will explain the issue.

    Regards,
    Plamen
    the Telerik team
    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 their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top