FineUI/FineUI.Examples/iframe/button_iframe.aspx.cs
三生石上 8e116609c6 v4.2.0
2015-05-19 14:45:47 +08:00

39 lines
1.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 FineUI.Examples.iframe
{
public partial class button_iframe : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Button1.OnClientClick = Window1.GetShowReference("../grid/grid_iframe_window.aspx", "弹出窗口一");
Button2.OnClientClick = Window2.GetShowReference("../grid/grid_iframe_window.aspx", "弹出窗口二");
}
labResult.Text = "页面加载时间:" + DateTime.Now.ToLongTimeString();
}
protected void Window1_Close(object sender, WindowCloseEventArgs e)
{
Alert.ShowInTop("Window1被关闭了");
}
protected void Window2_Close(object sender, WindowCloseEventArgs e)
{
Alert.ShowInTop("Window2被关闭了");
}
}
}