March 2008
Intermediate to advanced
766 pages
21h 15m
English
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?
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.
What are the two main benefits of using a custom enumeration like Direction over built-in types like System.Byte or String?