This example demonstrates how to upload file to the same page by handling a button click event. Code for files processing is located in codebehind file.

All uploaded files will be stored to the "UploadedFiles" folder that is located in the root directory of an examples.
You should grant write access to "UploadedFiles" folder to the ASP.NET process identity(typically {MACHINE}\ASPNET on IIS 5
or Network Service on IIS 6).

Select file 1:
Select file 2:
Comment:
 


Other examples       View C Sharp source code   View VB NET source code

Used files: Bin\EasyAlgo.EAUpload.dll, web.config, UploadToTheSamePage.aspx, UploadToTheSamePage.aspx.cs, ExamplesStyle.css [Optional]