hi all,
is there a way to return javascript confirm box result to c#variable?i need to use a confirm box for my code behind c#messagebox.show can't be display out on the client side. so i'm not going to use it.AJAX. i'm not so familiar with it. so i'm not going to use it.
public void confirmBox(string Message)
{
string script = "<script>";
script += "confirm('sure?')";
script += "</script>";
ClientScript.RegisterStartupScript(Page.GetType(), "confirm", script.ToString(), false);
}
the above code runs well with showing ok and cancel button.can i do when user click on ok, it will point to other function?
i'm doing on the code behind, not the button.
Thanks all.....
...
Go to the complete details ...