Kamis, 21 Oktober 2010

ASP.NET Webforms and Event Handling

To create more active server pages as done in the first example, it is necessary to add code and reference elements of a page. The most simple way is to add a script section in the ‘index.aspx’ source. It may be surprising to see that the event handler is defined as a member function of a System.Web.UI.Page class definition. In the next example we add an event handler for a button click. As usual

Tidak ada komentar:

Posting Komentar