
872
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ PagerPosition
Returned By
DataGridPagerStyle.Position
Passed To
DataGridPagerStyle.Position
Panel
System.Web.UI.WebControls (system.web.dll)
disposable
class
This class represents a Panel control, which acts as a simple container for other web
controls. A panel is often used to group related controls, such as RadioButton controls
that share the same RadioButton.GroupName. Panels are also used to disable or hide entire
groups of controls at once, by setting the Visible or Enabled property of the containing
panel. They are also useful for adding dynamically generated controls, as in Panel1.
Controls.Add(New LiteralControl("<br>"));.
You can set a background image for your panel by specifying a URL for the BackImageUrl
property. You can also type text directly into a panel on the design-time surface in
Visual Studio .NET. Use the Wrap property to set whether this content is wrapped. If it
is not, the Panel is automatically extended to the required width.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) ...