O'Reilly logo

Programming Microsoft® ASP.NET by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Data-Bound and Templated Controls

 

Life grants nothing to us mortals without hard work.

 
 --Horace

In the previous chapter, we built a few controls completely from scratch—that is, not inheriting from existing Web controls, but simply using the base class for ASP.NET server controls as a starting point. Although they are effective and functional, both the GaugeBar and BarChart controls lack a few key features. More often than not, real-world controls need to be data-bindable and support templates. The importance of being a data-bindable control surfaced clearly in Chapter 6 (“Creating Bindable Grids of Data”) and Chapter 9 (“ASP.NET Iterative Controls”), in which we thoroughly discussed and explored the DataGrid, Repeater, and DataList ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required