FineUI/FineUI.Examples/message/alert_download_hideiframe_window.aspx.cs

28 lines
771 B
C#
Raw Normal View History

2016-01-10 01:19:30 -05:00
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.message
{
public partial class alert_download_hideiframe_window : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnOperation_Click(object sender, EventArgs e)
{
// 不要在这里调用F.confirm因为当前页面要被关闭因此F.confirm的回调函数可能不能正确执行
PageContext.RegisterStartupScript(ActiveWindow.GetHideReference() + "parent.showConfirm();");
}
}
}