This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
LinkButton Methods
The methods of the LinkButton class are listed below. For a complete list of LinkButton class members, see the LinkButton Members topic.
Public:
AddParsedSubObject |
[To be supplied.] |
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.] |
MergeStyle (inherited from WebControl) |
Merge the attributes set in the specified style that are not already set on the control. |
RaisePostBackEvent |
Method of IPostBackEventHandler interface to raise events on post back. LinkButton fires a Click event and a Command event if a Command is defined. |
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 |
Render the attributes on the begin tag. |
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 |
Load previously saved state. Overridden to synchronize Text property with LiteralContent. |
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. |
OnClick |
Method used to raise the Click event. |
OnCommand |
Method used to raise the Command event. |
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.] |
OnUnload (inherited from Control) |
[To be supplied.] |
PreRender |
This method is invoked just prior to rendering. Register client script for handling postback if onClickHandler is set. |
PreRenderRecursive (inherited from Control) |
[To be supplied.] |
Render (inherited from WebControl) |
Render the control into the given writer. |
RenderChildren (inherited from Control) |
[To be supplied.] |
RenderContents |
[To be supplied.] |
SaveState (inherited from WebControl) |
Save any state that was modified after "mark". |
Event Hookup:
AddOnClick |
Adds an event handler for the Click event. |
AddOnCommand |
Adds an event handler for the Command event. |
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.] |
AddOnUnload (inherited from Control) |
[To be supplied.] |
RemoveOnClick |
Removes the given handler for the Click event. If there are duplicate entries, ALL are removed. |
RemoveOnCommand |
Removes the given handler for the Command event. If there are duplicate entries, ALL are removed. |
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.] |
RemoveOnUnload (inherited from Control) |
[To be supplied.] |
See Also
LinkButton Class | System.Web.UI.WebControls Namespace