13.07.2015 Views

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

200<strong>ASP</strong>.<strong>NET</strong> <strong>3.5</strong>: A Beginner’s <strong>Guide</strong>Figure 8-1 Label web control events displayed in the Properties windowIntelliSense and EventsA third way to easily get your events into your application is to use the IntelliSensecontext menus that pop up in the Source mode. The following simple steps show how:1. Add a TextBox web control to your application in the Source mode.2. Click inside the tag and press SPACEBAR. A context menu opens.3. Type the letter o and you will see all of the events associated with the TextBox webcontrol. Notice that every event has a lightning bolt next to it. (Also, events all beginwith “On”—OnInit, OnLoad.) Figure 8-2 shows what you can expect to see.Unlike using either the double-click method in the Design mode or selecting eventsin the Properties window, when using IntelliSense in the Source mode, you will have

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!