Ext.NET supports a number of different event mechanisms. For example, there are client-side events, AJAX events, and general publish/subscribe event patterns that are available. Different controls in Ext.NET support different types of events. Buttons, LinkButtons, and similar controls will support a click event when the control is clicked. Other specialized controls will have more events. For example, most container controls have events related to when items are added or removed from a container, and so on. We will continue using the Button control to demonstrate how you can subscribe to and handle events.
Ext JS provides a vast event-handling framework for its components, which Ext.NET exposes quite elegantly. Ext JS lets you subscribe to an event through the use of listeners. So, here is an example of a simple click handler for a button:
<ext:Button runat="server" Text="Click Me!"> <Listeners> <Click Handler="alert(...