这个是父页面的代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FineUI;
public partial class Default16 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
bind();
}
}
这个是弹出页面的后台代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FineUI;
public partial class window : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Button1.OnClientClick = ActiveWindow.GetConfirmHidePostBackReference();
}