What do you need to do to use a
Which property of the
control enables asynchronous postback?
What control do you need to place on your page to enable asynchronous updates?
Can you make a page that contains only an extender control?
What property is common to all the AJAX extender controls?
What view do you use to set the
Can you use the
TextBoxWatermarkExtender without style sheets?
What's the advantage of using the
What method of the
PopupControlExtender do you need to call to display the
What standard control does the
CollapsiblePanelExtender work with?
Exercise 3-1. We'll start things off
simply. Suppose you have a store that ships only to certain states in the
Northeastern United States. In your order form, you want to restrict users to
only those states as their shipping destination, so you want to use a drop-down
list. You also want to save space on your form, though, so you want to hide that
delivery list in a
Panel with a
PopupControlExtender. For this exercise, you'll
only produce the part of the form where users would enter the shipping State.
The finished form should look like Figure 3-16.
The drop-down list should contain just the six states shown in Figure 3-16. When the user chooses one of the states, the state's two-letter postal abbreviation should appear in the text box.
Exercise 3-2. Most of the AJAX control extenders that we've shown you in this chapter just ...