上传文件时的进度条加载问题
public partial class Process : System.Web.UI.Page{
protected void Page_Load(object sender, EventArgs e)
{
AspnetUpload upldr = new AspnetUpload();
upldr.RegisterModelessProgressBar(this.Button1);
}
protected void Button1_Click(object sender, EventArgs e)
{
string fpath = (Request.PhysicalApplicationPath, "UpFiles");
UploadFile file = AspnetUpload.GetUploadFile("File1");
if (file != null)
file.SaveAs((fpath, Path.GetFileName(file.get_FileName())));
}
为什么我的进度条出来并显示上传了,但结果确实没有上传?
求高手解救。。。