Cannot get the uploaded file name while using ajax
问题 I am using Ajax file upload control to upload file in which it works fine but when i a check box or radiobutton which has autopostback property set to true and I check then the FileName returns value null protected void AsyncFileUpload1_UploadedComplete(object sender, AjaxControlToolkit.AsyncFileUploadEventArgs e) { try { if (AsyncFileUpload1.IsUploading) { AsyncFileUpload1.SaveAs(MapPath("~/Images/Accounts/" + AsyncFileUpload1.FileName)); } } catch (Exception ex) { } } after uploading then