当删除时提示信息
<ext:Button ID="UndoSubmit" runat="server" Text="确定" EnablePostBack="false" OnClick="UndoSubmit_Click" />
UndoSubmit.OnClientClick = Confirm.GetShowReference("您确定要撤销本委托协议吗?", String.Empty,
MessageBoxIcon.Question, UndoSubmit.GetPostBackEventReference(), UndoSubmit.GetPostBackEventReference("Cancel"));
protected void UndoSubmit_Click(object sender, EventArgs e)
{
if (Request.Form["__EVENTARGUMENT"] != "Cancel")
{
int ID;string flownode;
bool retval = Govaze.SQLServerDAL.Factory.getCHINADADAL().d_YWZC_upd_Main4(int.Parse(AID.Text), "SYSUNDO", "", DDL1.SelectedValue, getUserName(), out ID, out flownode);
if (retval)
{ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());}
else
{ Alert.Show("操作失败"); }
//Govaze.SQLServerDAL.Factory.getCHINADADAL().d_YWZC_del_Main(int.Parse(AID.Text), getUserName());
}
}