System.Web.UI Namespace
Defines the properties, methods, and events that are shared by all ASP.NET server controls.
Visibility |
Constructor |
Parameters |
public |
Control |
( )
|
Visibility |
Name |
Value Type |
Accessibility |
public |
AppRelativeTemplateSourceDirectory
|
String |
[ Get , Set ] |
public |
BindingContainer
|
Control |
[ Get ] |
public |
ClientID
|
String |
[ Get ] |
public |
ClientIDMode
|
ClientIDMode |
[ Get , Set ] |
public |
Controls
|
ControlCollection |
[ Get ] |
public |
DataItemContainer
|
Control |
[ Get ] |
public |
DataKeysContainer
|
Control |
[ Get ] |
public |
EnableTheming
|
Boolean |
[ Get , Set ] |
public |
EnableViewState
|
Boolean |
[ Get , Set ] |
public |
ID
|
String |
[ Get , Set ] |
public |
NamingContainer
|
Control |
[ Get ] |
public |
Page
|
Page |
[ Get , Set ] |
public |
Parent
|
Control |
[ Get ] |
public |
RenderingCompatibility
|
Version |
[ Get , Set ] |
public |
Site
|
ISite |
[ Get , Set ] |
public |
SkinID
|
String |
[ Get , Set ] |
public |
TemplateControl
|
TemplateControl |
[ Get , Set ] |
public |
TemplateSourceDirectory
|
String |
[ Get ] |
public |
UniqueID
|
String |
[ Get ] |
public |
ValidateRequestMode
|
ValidateRequestMode |
[ Get , Set ] |
public |
ViewStateMode
|
ViewStateMode |
[ Get , Set ] |
public |
Visible
|
Boolean |
[ Get , Set ] |
Visibility |
Name |
Parameters |
Return Type |
protected |
AddParsedSubObject |
(
Object
obj
)
|
Void
|
public |
ApplyStyleSheetSkin |
(
Page
page
)
|
Void
|
protected |
BeginRenderTracing |
(
TextWriter
writer
,
Object
traceObject
)
|
Void
|
protected |
BuildProfileTree |
(
String
parentId
,
Boolean
calcViewState
)
|
Void
|
protected |
ClearCachedClientID |
( )
|
Void
|
protected |
ClearChildControlState |
( )
|
Void
|
protected |
ClearChildState |
( )
|
Void
|
protected |
ClearChildViewState |
( )
|
Void
|
protected |
ClearEffectiveClientIDMode |
( )
|
Void
|
protected |
CreateControlCollection |
( )
|
ControlCollection
|
public |
DataBind |
( )
|
Void
|
protected |
DataBind |
(
Boolean
raiseOnDataBinding
)
|
Void
|
protected |
DataBindChildren |
( )
|
Void
|
public |
Dispose |
( )
|
Void
|
protected |
EndRenderTracing |
(
TextWriter
writer
,
Object
traceObject
)
|
Void
|
protected |
EnsureChildControls |
( )
|
Void
|
protected |
EnsureID |
( )
|
Void
|
protected |
FindControl |
(
String
id
,
Int32
pathOffset
)
|
Control
|
public |
FindControl |
(
String
id
)
|
Control
|
public |
Focus |
( )
|
Void
|
protected |
GetDesignModeState |
( )
|
IDictionary
|
public |
GetRouteUrl |
(
String
routeName
,
RouteValueDictionary
routeParameters
)
|
String
|
public |
GetRouteUrl |
(
RouteValueDictionary
routeParameters
)
|
String
|
public |
GetRouteUrl |
(
String
routeName
,
Object
routeParameters
)
|
String
|
public |
GetRouteUrl |
(
Object
routeParameters
)
|
String
|
public |
GetUniqueIDRelativeTo |
(
Control
control
)
|
String
|
public |
HasControls |
( )
|
Boolean
|
protected |
HasEvents |
( )
|
Boolean
|
protected |
IsLiteralContent |
( )
|
Boolean
|
protected |
LoadViewState |
(
Object
savedState
)
|
Void
|
protected |
OnBubbleEvent |
(
Object
source
,
EventArgs
args
)
|
Boolean
|
protected |
OnDataBinding |
(
EventArgs
e
)
|
Void
|
protected |
RaiseBubbleEvent |
(
Object
source
,
EventArgs
args
)
|
Void
|
protected |
RenderControl |
(
HtmlTextWriter
writer
,
ControlAdapter
adapter
)
|
Void
|
public |
RenderControl |
(
HtmlTextWriter
writer
)
|
Void
|
protected |
ResolveAdapter |
( )
|
ControlAdapter
|
public |
ResolveClientUrl |
(
String
relativeUrl
)
|
String
|
public |
ResolveUrl |
(
String
relativeUrl
)
|
String
|
protected |
SaveViewState |
( )
|
Object
|
protected |
SetDesignModeState |
(
IDictionary
data
)
|
Void
|
public |
SetRenderMethodDelegate |
(
RenderMethod
renderMethod
)
|
Void
|
public |
SetTraceData |
(
Object
traceDataKey
,
Object
traceDataValue
)
|
Void
|
public |
SetTraceData |
(
Object
tracedObject
,
Object
traceDataKey
,
Object
traceDataValue
)
|
Void
|
protected |
TrackViewState |
( )
|
Void
|
|
This is the primary class that you derive from when you develop custom ASP.NET server controls. Control does not have any user interface ( UI ) specific features. If you are authoring a control that does not have a UI, or combines other controls that render their own UI, derive from Control.
ASP.NET server controls include ASP.NET pages. Pages are instantiations classes derived from the Page class when a request for an ASP.NET page is processed. Also included are literal controls ( strings of HTML and text that are not processed on the server ), HTML server controls, Web server controls, and any custom server controls that you create or download.
Developing ASP.NET Server Controls Page Class TemplateControl Class LiteralControl Class
|
|