Instructions
1. The first thing to do is to move the Donation calculator from the first assignment into an update panel.
2. This part is a little more complicated. This uses a panel within an update panel like the example in the book. In the update panel add a text that says "Make a donation". Then add either two radio buttons or a radio button list with one button saying "Yes" and the other "No." The inner panel should be invisible until the user clicks the yes button. (and become invsible again if the No button is clicked. Inside the inner panel you should make a donation form like the following. Use either an asp table control or an xhtml table to organize the form.
| Last Name | |
| First Name | |
| Apartment | |
| Street | |
| City | |
| zip Code | |
| Home Phone | |
| Work Phone | |
| Cell Phone | |
| Donation |
For extra credit you can try watermarking one or more of the text boxes.
Grading
The assignment is worth 10 points
- 2 points for putting the Donation Calculator in an Ajax update box
- 3 points for the radio buttons in the second update panel
- 3 points for making the donation form in the second panel
- 2 points for making the donation form visible and invisible