using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;

namespace ExtAspNet.Examples.iframe
{
    public partial class passvalue_iframe : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Button1.OnClientClick = Window1.GetSaveStateReference(TextBox1.ClientID)
                    + Window1.GetShowReference("./passvalue_iframe_iframe.aspx");
            }

        }

        protected void Window1_Close(object sender, EventArgs e)
        {
            Alert.ShowInTop("Window1's close event is triggered!");
        }

    }
}
