protected override bool OnBubbleEvent (object source, EventArgs e)
{
FormViewCommandEventArgs args = e as FormViewCommandEventArgs;
if (args != null) {
bool causesValidation = false;
IButtonControl button = args.CommandSource as IButtonControl;
if (button != null && button.CausesValidation) {
Page.Validate (button.ValidationGroup);
causesValidation = true;
}
ProcessCommand (args, causesValidation);
return true;
}
return base.OnBubbleEvent (source, e);
}