修改质量问题
This commit is contained in:
@@ -158,5 +158,10 @@
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
function reloadGrid(param) {
|
||||
__doPostBack(null, 'ReloadGrid$' + param);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -44,6 +44,15 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string requestArg = GetRequestEventArgument(); // 此函数所在文件:PageBase.cs
|
||||
if (requestArg.StartsWith("ReloadGrid$"))
|
||||
{
|
||||
this.hdItemsString.Text = requestArg.Substring("ReloadGrid$".Length);
|
||||
Window1_Close(null,null);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -325,8 +325,12 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
{
|
||||
ids = ids.Substring(0, ids.LastIndexOf(","));
|
||||
}
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(ids)
|
||||
+ ActiveWindow.GetHidePostBackReference());
|
||||
|
||||
string scripts = String.Format("F.getActiveWindow().window.reloadGrid('{0}');", ids);
|
||||
PageContext.RegisterStartupScript(scripts + ActiveWindow.GetHidePostBackReference());
|
||||
|
||||
//PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(ids)
|
||||
// + ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user