O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DirectEvents

Simply put, DirectEvents are server-side event handlers for events triggered on the client side. DirectEvents can be applied to Ext.NET Controls, ASP.NET controls, and even any HTML elements on the page. Off-page services can also be invoked by DirectEvents. As mentioned in Chapter 2, Ext.NET Controls Overview, it is important to note that for a DirectEvent to work, the Ext.NET control has to be recreated on the server first, just like you do with ASP.NET controls in a traditional ASP.NET Post Back model using the full page lifecycle. If the ASP.NET Web Forms page has a form with runat="server", then that entire form will be submitted by default.

DirectEvents on Ext.NET Controls

In Chapter 2, Ext.NET Controls Overview, we saw how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required