- Add a reference of
AjaxToolkitControl.dll into your project.
- Then drag and drop
Toolkit Script Manager and
AjaxFileUpload Control from Visual Studio Toolbox window to your
.aspx page like this :
- use this code on your aspx.cs file
- Make sure you have created folder named as Uploads in your project root directory.