Home
About
Testimonials
Demos
Download
Documentation
Forum
Development
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Web.UI.ActiveControls
Inheritance:
TComponent
»
TApplicationComponent
»
TControl
»
TWebControl
»
TTextBox
»
TActiveTextBox
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
AccessKey
string
the access key of the control. (inherited from
TWebControl
)
R
ActiveControl
TBaseActiveCallbackControl
standard callback control options.
Adapter
TControlAdapter
control adapter. (inherited from
TControl
)
R
AllowChildControls
boolean
whether body contents are allowed for this control. (inherited from
TControl
)
R
Application
TApplication
current application instance. (inherited from
TApplicationComponent
)
R
Attributes
TAttributeCollection
Returns the list of custom attributes. (inherited from
TControl
)
AutoCompleteType
TTextBoxAutoCompleteType
the AutoComplete type of the textbox. (inherited from
TTextBox
)
AutoPostBack
boolean
a value indicating whether an automatic postback to the server will occur whenever the user modifies the text in the TTextBox control and then tabs out of the component. (inherited from
TTextBox
)
AutoTrim
boolean
a value indicating whether the input text should be trimmed spaces. (inherited from
TTextBox
)
BackColor
string
the background color of the control. (inherited from
TWebControl
)
BorderColor
string
the border color of the control. (inherited from
TWebControl
)
BorderStyle
string
the border style of the control. (inherited from
TWebControl
)
BorderWidth
string
the border width of the control. (inherited from
TWebControl
)
CausesValidation
boolean
whether postback event trigger by this text box will cause input validation, default is true. (inherited from
TTextBox
)
P
ChildControlsCreated
boolean
whether child controls have been created. (inherited from
TControl
)
RP
ClientClassName
string
Gets the name of the javascript class responsible for performing postback for this control.
R
ClientID
string
Returns the client ID of the control. (inherited from
TControl
)
R
ClientSide
TCallbackClientSide
client side request options.
Columns
integer
the display width of the text box in characters, default is 0 meaning not set. (inherited from
TTextBox
)
P
ControlStage
integer
Gets the lifecycle step the control is currently at. (inherited from
TControl
)
R
Controls
TControlCollection
the child control collection. (inherited from
TControl
)
CssClass
string
the css class of the control. (inherited from
TWebControl
)
CustomData
mixed
Returns custom data associated with this control. (inherited from
TControl
)
Data
string
Returns the text content of the TTextBox control. (inherited from
TTextBox
)
R
DataChanged
boolean
Returns a value indicating whether postback has caused the control data change. (inherited from
TTextBox
)
Display
TDisplayStyle
display style of the control, default is TDisplayStyle::Fixed. (inherited from
TWebControl
)
EnableClientScript
boolean
whether to render javascript. (inherited from
TTextBox
)
EnableTheming
boolean
whether theming is enabled for this control. (inherited from
TControl
)
EnableViewState
boolean
whether viewstate is enabled. (inherited from
TControl
)
Enabled
boolean
Returns a value indicating whether the control is enabled. (inherited from
TControl
)
R
Font
TFont
the font of the control. (inherited from
TWebControl
)
ForeColor
string
the foreground color of the control. (inherited from
TWebControl
)
R
HasAdapter
boolean
whether there is an adapter for this control. (inherited from
TControl
)
R
HasAttributes
boolean
whether the control has custom attributes. (inherited from
TControl
)
R
HasChildInitialized
boolean
true if the child control has been initialized. (inherited from
TControl
)
R
HasControls
boolean
whether the control has child controls. (inherited from
TControl
)
R
HasInitialized
boolean
true if the onInit event has raised. (inherited from
TControl
)
R
HasLoaded
boolean
true if the onLoad event has raised. (inherited from
TControl
)
R
HasLoadedPostData
boolean
true if the control has loaded post data. (inherited from
TControl
)
R
HasPreRendered
boolean
true if onPreRender event has raised. (inherited from
TControl
)
R
HasStyle
boolean
whether the control has defined any style information. (inherited from
TWebControl
)
Height
string
the height of the control. (inherited from
TWebControl
)
ID
string
Returns the id of the control. (inherited from
TControl
)
IsValid
bool
Returns true if this control validated successfully. (inherited from
TTextBox
)
MaxLength
integer
the maximum number of characters allowed in the text box, default is 0 meaning not set. (inherited from
TTextBox
)
R
NamingContainer
TControl
the naming container of this control. (inherited from
TControl
)
Page
TPage
the page that contains this control. (inherited from
TControl
)
R
Parent
TControl
the parent of this control. (inherited from
TControl
)
PersistPassword
boolean
whether password should be displayed in the textbox during postback. (inherited from
TTextBox
)
RP
PostBackOptions
array
Gets the post back options for this textbox. (inherited from
TTextBox
)
ReadOnly
boolean
whether the textbox is read only, default is false. (inherited from
TTextBox
)
R
Request
THttpRequest
the current user request. (inherited from
TApplicationComponent
)
R
Response
THttpResponse
the response. (inherited from
TApplicationComponent
)
Rows
integer
the number of rows displayed in a multiline text box, default is 4. (inherited from
TTextBox
)
R
SafeText
string
safe text content with javascript stripped off. (inherited from
TTextBox
)
RP
SafeTextParser
mixed
safe text parser. (inherited from
TTextBox
)
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. (inherited from
TControl
)
R
SourceTemplateControl
TTemplateControl
the control whose template is loaded from some external storage, such as file, db, and whose template ultimately contains this control. (inherited from
TControl
)
Style
TStyle
the object representing the css style of the control. (inherited from
TWebControl
)
TabIndex
integer
the tab index of the control. (inherited from
TWebControl
)
RP
TagName
string
tag name of the textbox. (inherited from
TTextBox
)
TemplateControl
TTemplateControl
the control whose template contains this control. (inherited from
TControl
)
Text
string
the text content of the TTextBox control. (inherited from
TTextBox
)
TextMode
TTextBoxMode
the behavior mode of the TTextBox component. (inherited from
TTextBox
)
ToolTip
string
the tooltip of the control. (inherited from
TWebControl
)
R
UniqueID
string
Returns a unique ID that identifies the control in the page hierarchy. (inherited from
TControl
)
R
User
IUser
information about the current user. (inherited from
TApplicationComponent
)
ValidationGroup
string
the group of validators which the text box causes validation upon postback. (inherited from
TTextBox
)
R
ValidationPropertyValue
mixed
Returns the value to be validated. (inherited from
TTextBox
)
Visible
boolean
Checks if a control is visible. (inherited from
TControl
)
Width
string
the width of the control. (inherited from
TWebControl
)
Wrap
boolean
whether the text content wraps within a multiline text box. (inherited from
TTextBox
)
Events
Name
Description
OnCallback
This method is invoked when a callback is requested.
OnDataBinding
Raises 'OnDataBinding' event. (inherited from
TControl
)
OnInit
This method is invoked when the control enters 'OnInit' stage. (inherited from
TControl
)
OnLoad
This method is invoked when the control enters 'OnLoad' stage. (inherited from
TControl
)
OnPreRender
This method is invoked when the control enters 'OnPreRender' stage. (inherited from
TControl
)
OnTextChanged
Raises
OnTextChanged
event. (inherited from
TTextBox
)
OnUnload
This method is invoked when the control enters 'OnUnload' stage. (inherited from
TControl
)
Methods
Name
Description
P
addAttributesToRender
Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control.
addParsedObject
Adds the object instantiated on a template to the child control collection. (inherited from
TControl
)
P
addToPostDataLoader
Add controls implementing IPostBackDataHandler to post data loaders. (inherited from
TControl
)
addedControl
Adds a control into the child collection of the control. (inherited from
TControl
)
applyStyleSheetSkin
Applies a stylesheet skin to a control. (inherited from
TControl
)
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. (inherited from
TControl
)
P
autoDataBindProperties
Auto databinding properties of the control. (inherited from
TControl
)
bindProperty
Sets up the binding between a property (or property path) and an expression. (inherited from
TControl
)
broadcastEvent
Broadcasts an event. (inherited from
TControl
)
bubbleEvent
This method responds to a bubbled event. (inherited from
TControl
)
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. (inherited from
TControl
)
P
clearControlState
Clears a controlstate value. (inherited from
TControl
)
clearNamingContainer
Resets the control as a naming container. (inherited from
TControl
)
clearStyle
Removes all style data. (inherited from
TWebControl
)
clearViewState
Clears a viewstate value. (inherited from
TControl
)
S
convertUniqueIdToClientId
Converts a unique ID to a client ID. (inherited from
TControl
)
copyBaseAttributes
Copies basic control attributes from another control. (inherited from
TWebControl
)
createChildControls
Creates child controls. (inherited from
TControl
)
P
createControlCollection
Creates a control collection object that is to be used to hold child controls . (inherited from
TControl
)
P
createStyle
Creates a style object to be used by the control. (inherited from
TWebControl
)
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
dataBind
Performs the databinding for this control. (inherited from
TControl
)
P
dataBindChildren
Databinding child controls. (inherited from
TControl
)
P
dataBindProperties
Databinding properties of the control. (inherited from
TControl
)
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
ensureChildControls
Ensures child controls are created. (inherited from
TControl
)
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. (inherited from
TControl
)
findControlsByID
Finds all child and grand-child controls with the specified ID. (inherited from
TControl
)
findControlsByType
Finds all child and grand-child controls that are of the specified type. (inherited from
TControl
)
focus
Sets input focus to this control. (inherited from
TControl
)
getAttribute
attribute value, null if attribute does not exist. (inherited from
TControl
)
P
getControlState
Returns a controlstate value. (inherited from
TControl
)
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
getRegisteredObject
Returns the named registered object. (inherited from
TControl
)
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
getViewState
Returns a viewstate value. (inherited from
TControl
)
hasAttribute
whether the named attribute exists. (inherited from
TControl
)
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. (inherited from
TControl
)
P
isDescendentOf
if the control is a descendent (parent, parent of parent, etc. (inherited from
TControl
)
isObjectRegistered
whether an object has been registered with the name @see registerObject. (inherited from
TControl
)
loadPostData
Loads user input data. (inherited from
TTextBox
)
P
loadRecursive
Performs the Load step for the control and all its child controls. (inherited from
TControl
)
loadState
This method is invoked right after the control has loaded its state. (inherited from
TControl
)
P
loadStateRecursive
Loads state (viewstate and controlstate) into a control and its children. (inherited from
TControl
)
P
preRenderRecursive
Performs the PreRender step for the control and all its child controls. (inherited from
TControl
)
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. (inherited from
TControl
)
raiseCallbackEvent
Raises the callback event.
raiseEvent
Raises an event. (inherited from
TComponent
)
raisePostDataChangedEvent
Raises postdata changed event. (inherited from
TTextBox
)
registerObject
Registers an object by a name. (inherited from
TControl
)
removeAttribute
Removes the named attribute. (inherited from
TControl
)
removedControl
Removes a control from the child collection of the control. (inherited from
TControl
)
render
Renders the control. (inherited from
TWebControl
)
renderBeginTag
Renders the openning tag for the control (including attributes) . (inherited from
TWebControl
)
renderChildren
Renders the children of the control. (inherited from
TControl
)
P
renderClientControlScript
Override parent implementation, no javascript is rendered here instead the javascript required for active control is registered in addAttributesToRender.
renderContents
Renders the body content of the textbox when it is in MultiLine text mode. (inherited from
TTextBox
)
renderControl
Renders the control. (inherited from
TControl
)
renderEndTag
Renders the closing tag for the control . (inherited from
TWebControl
)
saveState
This method is invoked when control state is to be saved. (inherited from
TControl
)
P
saveStateRecursive
Saves all control state (viewstate and controlstate) as a collection. (inherited from
TControl
)
setAttribute
Sets a custom control attribute. (inherited from
TControl
)
P
setControlState
Sets a controlstate value. (inherited from
TControl
)
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
setViewState
Sets a viewstate value. (inherited from
TControl
)
trackViewState
Sets a value indicating whether we should keep data in viewstate. (inherited from
TControl
)
P
traverseChildControls
Traverse the whole control hierarchy rooted at this control. (inherited from
TControl
)
unbindProperty
Breaks the binding between a property (or property path) and an expression. (inherited from
TControl
)
P
unloadRecursive
Performs the Unload step for the control and all its child controls. (inherited from
TControl
)
unregisterObject
Unregisters an object by name. (inherited from
TControl
)
Derived classes
TAutoComplete
TInPlaceTextBox