protected virtual void OnSubmitting(Event evt) { var submitting = Submitting; if (submitting != null || SubmitLink != null) { evt.PreventDefault(); if (submitting != null) submitting(); if (SubmitLink != null) SubmitLink.FireClick(); } }
private void LocalHrefClick(Event evt) { evt.PreventDefault(); ViewContext.ControllerContext.Application.Open(Node.GetAttribute("href")); }