Default.aspx.cs PageLolad protected void Page_Load(object sender, EventArgs e) { FileUpload1.Attributes["onchange"] = "UploadFile(this)"; } protected void Upload(object sender, EventArgs e) { FileUpload1.SaveAs(Server.MapPath("~/AAA/Uploads/" + Path.GetFileName(FileUpload1.FileName))); lblMessage.Visible = true; } --------------------------------------------------------------------------------------------------------------- Default.aspx inside form tag put this code <asp:FileUpload ID="FileUpload1" accept=".png,.jpg,.jpeg,.gif" Style="display: none" runat="s...