diff --git a/SGGL/FineUIPro.Web/Person/DepartPerson.aspx b/SGGL/FineUIPro.Web/Person/DepartPerson.aspx
index 426a1ffa..f996ce72 100644
--- a/SGGL/FineUIPro.Web/Person/DepartPerson.aspx
+++ b/SGGL/FineUIPro.Web/Person/DepartPerson.aspx
@@ -175,7 +175,7 @@
+ Height="620px" OnClose="Window1_Close">
+ /// 页面
+ ///
+ //public int? PageSize
+ //{
+ // get
+ // {
+ // return (int?)ViewState["PageSize"];
+ // }
+ // set
+ // {
+ // ViewState["PageSize"] = value;
+ // }
+ //}
+
///
/// 加载页面
///
@@ -93,6 +108,10 @@ namespace FineUIPro.Web.Person
protected void btSearch_Click(object sender, EventArgs e)
{
this.BindGrid();
+ //if (this.PageSize.HasValue)
+ //{
+ // this.ddlPageSize.SelectedValue = this.PageSize.ToString();
+ //}
}
#endregion
@@ -132,6 +151,7 @@ namespace FineUIPro.Web.Person
///
protected void btnMenuDelete_Click(object sender, EventArgs e)
{
+ // this.PageSize = this.Grid1.PageIndex;
this.DeleteData();
}
@@ -214,6 +234,7 @@ namespace FineUIPro.Web.Person
///
private void EditData()
{
+ //this.PageSize = this.Grid1.PageIndex;
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInParent("请至少选择一条记录!", MessageBoxIcon.Warning);
@@ -276,5 +297,10 @@ namespace FineUIPro.Web.Person
Response.End();
}
#endregion
+
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ BindGrid();
+ }
}
}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs b/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs
index 4e0ec9dc..e4ccea2a 100644
--- a/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs
@@ -566,7 +566,7 @@ namespace FineUIPro.Web.Person
LogService.AddSys_Log(this.CurrUser, newPerson.PersonName, newPerson.PersonId, BLL.Const.PersonLibMenuId, BLL.Const.BtnAdd);
}
Alert.ShowInParent("保存成功!", MessageBoxIcon.Success);
- PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
else
{
diff --git a/SGGL/FineUIPro.Web/Person/ProjectPerson.aspx b/SGGL/FineUIPro.Web/Person/ProjectPerson.aspx
index 2df3936c..7aa6aab7 100644
--- a/SGGL/FineUIPro.Web/Person/ProjectPerson.aspx
+++ b/SGGL/FineUIPro.Web/Person/ProjectPerson.aspx
@@ -138,7 +138,7 @@
+ Height="620px" OnClose="Window1_Close">