How to trigger server side event for a button control?
Button control defined with server side OnClick event did not hit the corresponding server side event handler, however a post back occurs on Button click event.
To trigger the server-side events for an EJ Button control, you have to set the Type property value as Button. So that on post back the corresponding event handler is mapped with the Button click.
<%--EJ Button in the view page--%> <ej:Button ID="ejbtn" runat="server" Type="Button" Text="EJ Click" OnClick="ejbtn_Click"></ej:Button>