May 2003
Beginner
624 pages
15h 47m
English
As we saw in the last hour, to add the Click event handler for the Button Web control, all we need to do is double-click the button in the designer. This action will take us directly to the Code tab, where we can enter the source code for the event handler. Web controls can have more than one event, but all Web controls have what is known as the default event. When double-clicking a Web control in the designer, the event handler for its default event is created.
Since Web controls can have more than one event, you may be wondering how one would add another event handler for the Button Web control besides its Click event. To add an event handler for an event other than the default event, we must ...
Read now
Unlock full access