O'Reilly logo

Learning ASP.NET 2.0 with AJAX by Dan Hurwitz, Jesse Liberty, Brian MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

BRAIN BUILDER

Quiz

  1. What's the most effective way to apply styles on your web page?

  2. If a style sheet has rules applying to the text of the whole page, but one specific paragraph has a different style rule applied, which takes precedence?

  3. What command do you use to apply a style sheet to your page, and where do you place it?

  4. What is the purpose of a master page?

  5. How many different master pages can you apply to a particular content page?

  6. When you are trying to change the content of a master page at runtime, what does the content page need to affect the master page?

  7. What method could you use in a Button Click event handler to navigate to another page?

  8. What file do you need for all the navigation controls to work? How is this file generated?

  9. What control do you use to enable the navigation controls to access the file?

  10. What do you have to do to connect the SiteMapPath control to a data source?

Exercises

Exercise 6-1. In this set of exercises, you'll create a web site for a travel agency called Ajax Travel. First, create a master page containing all the elements that should appear on each page of the site, with the company name at the top, and a copyright notice at the bottom. In addition, Ajax Travel's portfolio of destinations is divided into two categories: Sun and Snow. The home page of the site should offer users a choice between these two categories. Each category should have its own heading, which appears in addition to the company heading. Also, each page in the "Sun" category should carry ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required