Keeping state after submitting

A sample demonstrates how to keep uploaded file state during page postbacks.

MultipleFilesUpload GetUploadedFile Hidden field state
Live demo
Server time: 4:23:31 PM

Upload, press Submit Form, then upload again — earlier files stay listed across postbacks.

Read the guide Uploading alongside other form fields

Why a file input empties Request.Form, and how to keep files across postbacks.

Next example SaveDirectory sample

Or browse all examples and the class reference.