I using the EjsButton and trying to capture the "click" event. However the following code does not work:
<EjsButton onclick="@OnClick" IconCss="e-btn-sb-icons e-add-icon" CssClass="e-small e-round" IsPrimary="true"></EjsButton>
At runtime I get:
Object of type 'Syncfusion.EJ2.RazorComponents.Buttons.EjsButton' does not have a property matching the name 'onclick'
What code do I need to react to the button being clicked, please?