NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TextBox Methods

The methods of the TextBox class are listed below. For a complete list of TextBox class members, see the TextBox Members topic.

Public:

AddParsedSubObject Overridden to only allow literal controls to be added as Text property.
ApplyStyle (inherited from WebControl) [To be supplied.]
CopyBaseAttributes (inherited from WebControl) [To be supplied.]
DataBind (inherited from Control) [To be supplied.]
Dispose (inherited from Control) Override to perform final cleanup.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
FindControl (inherited from Control) Overloaded. [To be supplied.]
GetAttribute (inherited from WebControl) Method of IAttributeAccessor.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
HasControls (inherited from Control) [To be supplied.]
HasDataBindings (inherited from Control) [To be supplied.]
LoadPostData Method of IPostBackDataHandler interface to process posted data. TextBox process a newly posted Text value.
MergeStyle (inherited from WebControl) Merge the attributes set in the specified style that are not already set on the control.
RaisePostDataChangedEvent Method of IPostBackDataHandler interface which is invoked whenever posted data for a control has changed. TextBox fires an OnTextChanged event.
RenderBeginTag (inherited from WebControl) Render the begin tag. This is made public so other controls can use to render multiple controls.
RenderControl (inherited from Control) [To be supplied.]
RenderEndTag (inherited from WebControl) Render the end tag. This is made public so other controls can use to render multiple controls.
SetAttribute (inherited from WebControl) Method of IAttributeAccessor.
SetRenderMethodDelegate (inherited from Control) [To be supplied.]
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

AddAttributesToRender [To be supplied.]
BubbleEvent (inherited from Control) [To be supplied.]
BuildProfileTree (inherited from Control) [To be supplied.]
ClearChildViewState (inherited from Control) [To be supplied.]
CreateChildControls (inherited from Control) [To be supplied.]
CreateControlStyle (inherited from WebControl) A protected method used to create the style object that is used internally to implement all style related properties. Controls may override to create an appropriate typed style.
DesignTimeRenderInternal (inherited from WebControl) [To be supplied.]
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
FindControl (inherited from Control) Overloaded. [To be supplied.]
Init (inherited from Control) Used by control developers to initialize child controls.
InvokeBubbleEvent (inherited from Control) [To be supplied.]
IsLiteralContent (inherited from Control) [To be supplied.]
IsMarked (inherited from Control) [To be supplied.]
LoadState (inherited from WebControl) Load previously saved state. Overridden to handle State, Style, and Attributes.
Mark (inherited from WebControl) Begin tracking state changes on the control. Any changes made after "mark" will be tracked and saved as part of the control viewstate.
MaybeCreateControls (inherited from Control) [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnDataBind (inherited from Control) [To be supplied.]
OnInit (inherited from Control) [To be supplied.]
OnLoad (inherited from Control) [To be supplied.]
OnPreRender (inherited from Control) [To be supplied.]
OnTextChanged Method used to raise the OnTextChanged event.
OnUnload (inherited from Control) [To be supplied.]
PreRender This method is invoked just prior to rendering. Register client script for handling postback if AutoPostBack is set.
PreRenderRecursive (inherited from Control) [To be supplied.]
Render [To be supplied.]
RenderChildren (inherited from Control) [To be supplied.]
RenderContents (inherited from WebControl) Render the contents of the tag.
SaveState (inherited from WebControl) Save any state that was modified after "mark".

Event Hookup:

AddOnDataBind (inherited from Control) [To be supplied.]
AddOnInit (inherited from Control) [To be supplied.]
AddOnLoad (inherited from Control) [To be supplied.]
AddOnPreRender (inherited from Control) [To be supplied.]
AddOnTextChanged Adds an event handler for the OnTextChanged event.
AddOnUnload (inherited from Control) [To be supplied.]
RemoveOnDataBind (inherited from Control) [To be supplied.]
RemoveOnInit (inherited from Control) [To be supplied.]
RemoveOnLoad (inherited from Control) [To be supplied.]
RemoveOnPreRender (inherited from Control) [To be supplied.]
RemoveOnTextChanged Removes the given handler for the OnTextChanged event. If there are duplicate entries, ALL are removed.
RemoveOnUnload (inherited from Control) [To be supplied.]

See Also

TextBox Class | System.Web.UI.WebControls Namespace