We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to trigger server side event for a button control?

Description

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.

Solution

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.

ASPX

C#

 

Article ID: Published Date: Last Revised Date: Platform: Control: Product Version:
3000 12/05/2014 12/16/2014 ASP.NET Web Forms Button 12.3.0.36
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.