protected void OnConfirmation(ConfirmationEventArgs e) { if (ConfirmationEvent != null) { ConfirmationEvent(this, e); } }
/// <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); } }