View Single Post
  #6 (permalink)  
Old July 26th, 2007, 04:18 AM
khosravi khosravi is offline
Wrox Author
Join Date: Aug 2006
Location: , , .
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

As the title of this book clearly states, this book teaches readers how to develop components. A component by definition must be reusable. The keywords here are components and reusability. You can't use containing elements such as html in a user control if you're designing the user control to be a reusable component where it is required to merge with different types of hosting pages without conflicts.

Sure if you don't want your user control to be a reusable component, you can include elements such as html.


Shahram Khosravi, Ph.D.
Author of Professional ASP.NET 2.0 Server Control and Component Development