使用ajax之后下载时需要加入的语句
2009-12-14 11:20:03 来源:WEB开发网核心提示: PRotected void Page_Load(object sender, EventArgs e) { ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(ImageButton1/*下载按钮的ID*/); } protected v
PRotected void Page_Load(object sender, EventArgs e)
{
ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(ImageButton1/*下载按钮的ID*/);
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
UpdownAndUpFileMeiliao.FileDownLoad("ceo.doc");
}
{
ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(ImageButton1/*下载按钮的ID*/);
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
UpdownAndUpFileMeiliao.FileDownLoad("ceo.doc");
}
更多精彩
赞助商链接