예제 #1
0
 protected void OnConfirmation(ConfirmationEventArgs e)
 {
     if (ConfirmationEvent != null)
     {
         ConfirmationEvent(this, e);
     }
 }
예제 #2
0
 /// <summary>
 /// Processes event calls.
 /// </summary>
 void IPostBackEventHandler.RaisePostBackEvent(string eventArgument)
 {
     if (eventArgument.StartsWith("confirm:"))
     {
         string[] valores        = (eventArgument + ":").Split(':');
         ConfirmationEventArgs e = new ConfirmationEventArgs(valores[1], (valores[2].ToLower() == "true"));
         OnConfirmation(e);
     }
 }