I am comparing two base classes of each namespace and a little confused.
System.Web.UI.WebControls.WebControl System.Web.UI.HtmlControls.HtmlControl
I see a slight difference between the two. For example, HtmlControl has much fewer properties, and WebControl has many properties, such as the CssClass property. In addition to additional properties, the WebControl base class seems more robust in the way it handles rendering.
Why do you need two namespaces and two sets of nearly identical controls?
Brig lamoreaux
source share