Version 7.0429 AJAX Control Toolkit
AjaxFileUpload Control
protected void AjaxFileUpload1_OnUploadComplete(object sender, AjaxFileUploadEventArgs file)
{
AjaxFileUpload1.SaveAs(MapPath("~/App_Data/" + file.FileName));
}
The Uploaded File : *.zip, *.txt ==> file can open
The Uploaded File : *.doc, *.xls ..etc ==> file can't open, display "file is damaged",why?
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.
AjaxFileUpload Control
protected void AjaxFileUpload1_OnUploadComplete(object sender, AjaxFileUploadEventArgs file)
{
AjaxFileUpload1.SaveAs(MapPath("~/App_Data/" + file.FileName));
}
The Uploaded File : *.zip, *.txt ==> file can open
The Uploaded File : *.doc, *.xls ..etc ==> file can't open, display "file is damaged",why?
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.