高手求解,消息提示框返回值问题
messagebox.cs:
public static void ShowConfirm(System.Web.UI.WebControls.WebControl Control, string msg)
{
Control.Attributes.Add("onclick", "if(!confirm('"+msg+"'))return false;");
}
调用的时候
MessageBox.ShowConfirm(Btn_Del, "在统计临时表中以及外出信息表中不存在此人信息,是否要删除!");
我怎样才能得到返回值呢,如果点的是确定返回一个值,取消返回一个值,根据返回值不同进行不同的操作。???
急~~~~~~~~~