protected void Window1_Close(object sender, FineUI.WindowCloseEventArgs e) { Response.ClearContent(); Response.AddHeader("content-disposition", "attachment; filename=MyExcelFile.xls"); Response.ContentType = "application/excel"; Response.ContentEncoding = System.Text.Encoding.UTF8; Response.Write(GetGridTableHtml(Grid1, e.CloseArgument.Split('#'))); Response.End(); }
/// <summary> /// 编辑窗口关闭 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void WindowEdit_Close(object sender, FineUI.WindowCloseEventArgs e) { DataBind(); }
//窗体关闭事件 protected void WindowSetting_Close(object sender, FineUI.WindowCloseEventArgs e) { }
//窗体关闭事件 protected void WindowEdit_Close(object sender, FineUI.WindowCloseEventArgs e) { BindStudyRoom(); }
protected void Window1_Close(object sender, FineUI.WindowCloseEventArgs e) { AutoBindGrid(); }