首页 > 学院 > 开发设计 > 正文

使用ajax之后下载时需要加入的语句

2019-11-17 03:59:13
字体:
来源:转载
供稿:网友
    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");
    }
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表