
864
|
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.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
WebControl(System.Web.UI.IAttributeAccessor) ➝ LinkButton(System.Web.UI.
IPostBackEventHandler)
LinkButtonControlBuilder
System.Web.UI.WebControls (system.web.dll)
class
The ASP.NET parser uses this class to generate HTML for any LinkButton controls on a
requested Web Forms page. You will not need to use this class directly in application
code.
Hierarchy
System.Object ➝ System.Web.UI.ControlBuilder ➝ LinkButtonControlBuilder
ListBox
System.Web.UI.WebControls (system.web.dll)
disposable
class
This class represents a list box control. Use the Rows property to set how many rows
you want to be displayed in the control at once (and hence, how much space the list
box will occupy). You can also set the SelectionMode property to ListSelectionMode.Multiple if
you want a user to be able to select more than one item from the list box at once.
Most of the list-specific functionality, such as determining the selected item and
reacting to a SelectedIndexChanged event, is provided by the ListControl class, which ListBox
inherits from.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, ...