4.7. Exercises

  1. Name the mechanism that enables server controls to maintain their state.

  2. How is the ASP.NET runtime able to keep track of control state between postbacks?

  3. Name a difference between an <asp:DropDownList> and an <asp:ListBox>.

  4. What property do you need to cause a postback to the server when you change the checked state of a CheckBox in the browser?

  5. Many server controls have a common set of properties that affects their looks at runtime. Name three properties that change styling elements such as color, borders, and size.

  6. Instead of setting individual control properties like BackColor and ForeColor, it's better to set a single CSS-related property. What's the name of this property and what benefit does it give you?

Get Beginning ASP.NET 3.5: In C# and VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.