March 2008
Intermediate to advanced
766 pages
21h 15m
English
Imagine you have a simple Web Form with a single Button on it. If you click the Button in the browser, it causes a postback and at the server its Click event is triggered. What happens first? The Page control's Load event or the Button control's Click event?
The GridView allows you to alternate colors (and other style information) for the rows it displays. How would you set up the GridView so it alternates between rows with a black background and white text and rows with a white background and black text?
What's the proper way to avoid an exception that you handled in a data-bound control's event in the Code Behind from being displayed in the page?