You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
709 B
16 lines
709 B
<%@ Page Language="C#" ASPCOMPAT="TRUE" Debug="true" Inherits="OboutInc.oboutAJAXPage"%>
|
|
<script language="C#" runat="server">
|
|
public void ServerUseConfirmDialog () {
|
|
// these are the params that can be sent to the result function along with the response
|
|
Hashtable ht = new Hashtable();
|
|
ht.Add("param1", 1);
|
|
ht.Add("param2", "a");
|
|
|
|
// call the ShowConfirmDialog function with the message, the function to call
|
|
// after the user answers, and the extra parameters the function should have.
|
|
// the initial client side function that called this function (ServerUseConfirmDialog)
|
|
// will receive the final answer of function Confirm
|
|
ShowConfirmationDialog("Are you sure?", "Confirm", ht);
|
|
}
|
|
|