Persists Uploader Control

  •  04-08-2010, 9:49 AM

    Persists Uploader Control

    Hi
     
    I'm working on some composite web controls for a dynamic form engine.
     
    I have a question on the usage of the persists upload control. The demo doesn't really demonstrate the purpose if you look at the code.
     
    In the demo http://ajaxuploader.com/Demo/Persist-upload-file.aspx you have created a button which just posts back and added an upload control.
     
    You show the  PersistedFile_FileUploaded handler using the returned args object and the regular button just doing a postback.
     
    You state on the page "A sample demonstrating how to persist the selected files during page postbacks. Ajax Uploader can hold an object temporarily and you can save it anytime you want."
     
    However, crucially what you do not show is accessing the "args"  (PersistedFileEventArgs) at a later point when you want to do your save.
     
    How exactly do I access the persisted file object to save it later?  I'm was hoping to avoid having to store the file memory object manually and just access ajaxuploader later when i needed to. This demo doesnt appear to show this...
     
    Hope you can help
     
     
    Filed under:
View Complete Thread