Prev | Current Page 113 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"

Web.UI.Control is the base class that all controls directly or indirectly inherit
from. It provides the bare minimum features required to call a class a server control.
??? System.Web.UI.WebControls.WebControl adds CSS styling management to the rendering
process, which makes it easier to build a styled custom control.
??? System.Web.UI.WebControls.WebParts adds web part functionality to ASP.NET 2.0 and
later, whereas with ASP.NET 1.1 web part functionality was only available within the
SharePoint runtime environment. It is still possible to create SharePoint-specific web
parts to take advantage of the features and capabilities available within the SharePoint
runtime environment, but it is no longer a requirement with ASP.NET 2.0 and later.
Still a blank state but a bit more specific are the following potential base classes that became
available in .NET Framework 2.0 and later:
??? System.Web.UI.WebControls.CompositeControl can serve as a great starting point when
building composite controls. It also removes the need to create a custom designer
for composite controls to render correctly at design-time as was required in .NET
Framework 1.1.
??? System.Web.UI.WebControls.DataBoundControl can serve as a great starting point when
building custom server controls that include data binding, since it takes care of much of
the data binding plumbing code.


Pages:
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125