62,133
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>无标题页 </title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"> </asp:Label>
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return confirm('xx?')" OnClick="Button1_Click"/>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("details.aspx?id=" + Label1.Text);
}
this.PopupWin1.Title = "操作成功";
this.PopupWin1.Message = " 成功刪除 ;
this.PopupWin1.HideAfter = 10000; //提示显示时间,
this.PopupWin1.AutoShow = true; //启动PopupWin。
this.PopupWin1.Visible = true;