Home
About
Testimonials
Demos
Download
Documentation
Forum
Development
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Web.UI
Inheritance:
TComponent
»
TApplicationComponent
»
TControl
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
Adapter
TControlAdapter
control adapter.
R
AllowChildControls
boolean
whether body contents are allowed for this control.
R
Application
TApplication
current application instance. (inherited from
TApplicationComponent
)
R
Attributes
TAttributeCollection
Returns the list of custom attributes.
P
ChildControlsCreated
boolean
whether child controls have been created.
R
ClientID
string
Returns the client ID of the control.
P
ControlStage
integer
Gets the lifecycle step the control is currently at.
R
Controls
TControlCollection
the child control collection.
CustomData
mixed
Returns custom data associated with this control.
EnableTheming
boolean
whether theming is enabled for this control.
EnableViewState
boolean
whether viewstate is enabled.
Enabled
boolean
Returns a value indicating whether the control is enabled.
R
HasAdapter
boolean
whether there is an adapter for this control.
R
HasAttributes
boolean
whether the control has custom attributes.
R
HasChildInitialized
boolean
true if the child control has been initialized.
R
HasControls
boolean
whether the control has child controls.
R
HasInitialized
boolean
true if the onInit event has raised.
R
HasLoaded
boolean
true if the onLoad event has raised.
R
HasLoadedPostData
boolean
true if the control has loaded post data.
R
HasPreRendered
boolean
true if onPreRender event has raised.
ID
string
Returns the id of the control.
R
IsSkinApplied
{unknown}
.
R
NamingContainer
TControl
the naming container of this control.
Page
TPage
the page that contains this control.
R
Parent
TControl
the parent of this control.
R
Request
THttpRequest
the current user request. (inherited from
TApplicationComponent
)
R
Response
THttpResponse
the response. (inherited from
TApplicationComponent
)
R
Service
IService
the current service. (inherited from
TApplicationComponent
)
R
Session
THttpSession
user session. (inherited from
TApplicationComponent
)
SkinID
string
the skin ID of this control, '' if not set.
R
SourceTemplateControl
TTemplateControl
the control whose template is loaded from some external storage, such as file, db, and whose template ultimately contains this control.
TemplateControl
TTemplateControl
the control whose template contains this control.
R
UniqueID
string
Returns a unique ID that identifies the control in the page hierarchy.
R
User
IUser
information about the current user. (inherited from
TApplicationComponent
)
Visible
boolean
Checks if a control is visible.
Events
Name
Description
OnDataBinding
Raises 'OnDataBinding' event.
OnInit
This method is invoked when the control enters 'OnInit' stage.
OnLoad
This method is invoked when the control enters 'OnLoad' stage.
OnPreRender
This method is invoked when the control enters 'OnPreRender' stage.
OnUnload
This method is invoked when the control enters 'OnUnload' stage.
Methods
Name
Description
addParsedObject
Adds the object instantiated on a template to the child control collection.
P
addToPostDataLoader
Add controls implementing IPostBackDataHandler to post data loaders.
addedControl
Adds a control into the child collection of the control.
applyStyleSheetSkin
Applies a stylesheet skin to a control.
attachEventHandler
Attaches an event handler to an event. (inherited from
TComponent
)
autoBindProperty
Sets up the binding between a property (or property path) and an expression.
P
autoDataBindProperties
Auto databinding properties of the control.
bindProperty
Sets up the binding between a property (or property path) and an expression.
broadcastEvent
Broadcasts an event.
bubbleEvent
This method responds to a bubbled event.
canGetProperty
Determines whether a property can be read. (inherited from
TComponent
)
canSetProperty
Determines whether a property can be set. (inherited from
TComponent
)
P
clearChildState
Clears up the child state data.
P
clearControlState
Clears a controlstate value.
clearNamingContainer
Resets the control as a naming container.
clearViewState
Clears a viewstate value.
S
convertUniqueIdToClientId
Converts a unique ID to a client ID.
createChildControls
Creates child controls.
P
createControlCollection
Creates a control collection object that is to be used to hold child controls .
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
dataBind
Performs the databinding for this control.
P
dataBindChildren
Databinding child controls.
P
dataBindProperties
Databinding properties of the control.
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
ensureChildControls
Ensures child controls are created.
evaluateExpression
Evaluates a PHP expression in the context of this control. (inherited from
TComponent
)
evaluateStatements
Evaluates a list of PHP statements. (inherited from
TComponent
)
findControl
Finds a control by ID path within the current naming container.
findControlsByID
Finds all child and grand-child controls with the specified ID.
findControlsByType
Finds all child and grand-child controls that are of the specified type.
focus
Sets input focus to this control.
getAttribute
attribute value, null if attribute does not exist.
P
getControlState
Returns a controlstate value.
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
getRegisteredObject
Returns the named registered object.
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
getViewState
Returns a viewstate value.
hasAttribute
whether the named attribute exists.
hasEvent
Determines whether an event is defined. (inherited from
TComponent
)
hasEventHandler
whether an event has been attached one or several handlers. (inherited from
TComponent
)
hasProperty
Determines whether a property is defined. (inherited from
TComponent
)
P
initRecursive
Performs the Init step for the control and all its child controls.
P
isDescendentOf
if the control is a descendent (parent, parent of parent, etc.
isObjectRegistered
whether an object has been registered with the name @see registerObject.
P
loadRecursive
Performs the Load step for the control and all its child controls.
loadState
This method is invoked right after the control has loaded its state.
P
loadStateRecursive
Loads state (viewstate and controlstate) into a control and its children.
P
preRenderRecursive
Performs the PreRender step for the control and all its child controls.
publishAsset
Publishes a private asset and gets its URL. (inherited from
TApplicationComponent
)
publishFilePath
Publishes a file or directory and returns its URL. (inherited from
TApplicationComponent
)
P
raiseBubbleEvent
Invokes the parent's bubbleEvent method.
raiseEvent
Raises an event. (inherited from
TComponent
)
registerObject
Registers an object by a name.
removeAttribute
Removes the named attribute.
removedControl
Removes a control from the child collection of the control.
render
Renders the control.
renderChildren
Renders the children of the control.
renderControl
Renders the control.
saveState
This method is invoked when control state is to be saved.
P
saveStateRecursive
Saves all control state (viewstate and controlstate) as a collection.
setAttribute
Sets a custom control attribute.
P
setControlState
Sets a controlstate value.
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
setViewState
Sets a viewstate value.
trackViewState
Sets a value indicating whether we should keep data in viewstate.
P
traverseChildControls
Traverse the whole control hierarchy rooted at this control.
unbindProperty
Breaks the binding between a property (or property path) and an expression.
P
unloadRecursive
Performs the Unload step for the control and all its child controls.
unregisterObject
Unregisters an object by name.
Derived classes
TCallback
TCallbackOptions
TClientScript
TCompositeControl
TConditional
TContent
TContentPlaceHolder
TDataSourceControl
TExpression
TFlushOutput
TForm
THead
THiddenField
TI18NControl
TLiteral
TMultiView
TOutputCache
TPlaceHolder
TRepeaterItem
TSafeHtml
TStatements
TStyleSheet
TTranslateParameter
TView
TWebControl
TWizardNavigationContainer
TXmlTransform