Labels

Wednesday, January 2, 2008

AutoEventWireup - Page Attribute

By default the ‘AutoEventWireup = true’. It means that without attaching the events of the Page (Init, Load, PreRender, UnLoad) with any Event Handler (Page_Init, Page_Loa etc), the event handlers are called automatically.

But in case of ‘AutoEventWireup = false’, to enable such event handlers to be fired, you’ll be required to bind the events with the event handler in the form tag as below.

<form id="form1" runat="server" onload="Page_Load" oninit=" Page_Init" onunload="Page_UnLoad">

Thanks & Regards,

Arun Manglick || Tech Lead |

No comments:

Post a Comment