ASP.NETAsp.net Ajax Controls

FileUpload Ajax Toolkit Control

  1. Add a reference of AjaxToolkitControl.dll into your project.
  2. Then drag and drop Toolkit Script Manager and AjaxFileUpload Control from Visual Studio Toolbox window to your .aspx page like this :

enter image description here

  1. use this code on your aspx.cs file

enter image description here

  1. Make sure you have created folder named as Uploads in your project root directory.