Skip to Content
Beginning ASP.NET 3.5: In C# and VB
book

Beginning ASP.NET 3.5: In C# and VB

by Imar Spaanjaars
March 2008
Intermediate to advanced content levelIntermediate to advanced
766 pages
21h 15m
English
Wrox
Content preview from Beginning ASP.NET 3.5: In C# and VB

8.5. Exercises

  1. In this chapter you saw how to create a standard property and a ViewState property. What is the main difference between the two? And what are the disadvantages of each of them?

  2. Currently, the DisplayDirection property of the Banner control doesn't maintain its state across postbacks. Change the code for the property so it is able to maintain its state using the ViewState collection, similar to how NavigateUrl maintains its value.

  3. What are the two main benefits of using a custom enumeration like Direction over built-in types like System.Byte or String?

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning ASP.NET 4: in C# and VB

Beginning ASP.NET 4: in C# and VB

Imar Spaanjaars
Professional ASP.NET 3.5 SP1 Edition: In C# and VB

Professional ASP.NET 3.5 SP1 Edition: In C# and VB

Bill Evjen, Scott Hanselman, Devin Rader

Publisher Resources

ISBN: 9780470187593Purchase book