The CardSpace Controls

CardSpaceButton Methods

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

Public Instance Methods

ApplyStyle (inherited from WebControl)Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.
ApplyStyleSheetSkin (inherited from Control)Applies the style properties defined in the page style sheet to the control.
CopyBaseAttributes (inherited from WebControl)Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
DataBind (inherited from CompositeControl)Overloaded. Binds a data source to the CompositeControl and all its child controls.
Dispose (inherited from Control)Enables a server control to perform final clean up before it is released from memory.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id parameter.
Focus (inherited from Control)Sets input focus to a control.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
HasControls (inherited from Control)Determines if the server control contains any child controls.
HaveToken (inherited from CardSpaceControl) Convenience method used to determine whether an information card token has been provided.
LoadPostData (inherited from CardSpaceControl) 
MergeStyle (inherited from WebControl)Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.
RaisePostDataChangedEvent (inherited from CardSpaceControl) 
RenderBeginTag (inherited from WebControl)Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
RenderControl (inherited from Control)Overloaded. Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
RenderEndTag (inherited from WebControl)Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
ResolveClientUrl (inherited from Control)Gets a URL that can be used by the browser.
ResolveUrl (inherited from Control)Converts a URL into one that is usable on the requesting client.
SetRenderMethodDelegate (inherited from Control)Assigns an event handler delegate to render the server control and its content into its parent control.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

AddAttributesToRender (inherited from WebControl)Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This method is used primarily by control developers.
AddParsedSubObject (inherited from Control)Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
BuildProfileTree (inherited from Control)Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
ClearChildControlState (inherited from Control)Deletes the control-state information for the server control's child controls.
ClearChildState (inherited from Control)Deletes the view-state and control-state information for all the server control's child controls.
ClearChildViewState (inherited from Control)Deletes the view-state information for all the server control's child controls.
CreateControlCollection (inherited from Control)Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
CreateControlStyle (inherited from WebControl)Creates the style object that is used internally by the WebControl class to implement all style related properties. This method is used primarily by control developers.
DataBind (inherited from Control)Overloaded. Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event.
DataBindChildren (inherited from Control)Binds a data source to the server control's child controls.
EnsureChildControls (inherited from Control)Determines whether the server control contains child controls. If it does not, it creates child controls.
EnsureID (inherited from Control)Creates an identifier for controls that do not have an identifier assigned.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.
GetClientClick (inherited from CardSpaceControl) 
GetDesignModeState (inherited from Control)Gets design-time data for a control.
GetHeaderControl (inherited from CardSpaceControl) 
GetHiddenFieldName (inherited from CardSpaceControl) 
GetImageUrl (inherited from CardSpaceControl) 
GetParameter (inherited from CardSpaceControl) 
GetStyleSheetControl (inherited from CardSpaceControl) 
HandlePostBack (inherited from CardSpaceControl) 
HasEvents (inherited from Control)Returns a value indicating whether events are registered for the control or any child controls.
IsLiteralContent (inherited from Control)Determines if the server control holds only literal content.
LoadViewState (inherited from WebControl)Restores view-state information from a previous request that was saved with the SaveViewState method.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnBubbleEvent (inherited from Control)Determines whether the event for the server control is passed up the page's UI server control hierarchy.
OnClaimsPresented (inherited from CardSpaceControl) 
OnClaimsPresentedError (inherited from CardSpaceControl) 
OnDataBinding (inherited from Control)Raises the DataBinding event.
OnInit (inherited from CardSpaceControl) 
OnPreRender (inherited from CardSpaceControl) 
RaiseBubbleEvent (inherited from Control)Assigns any sources of the event and its information to the control's parent.
RecreateChildControls (inherited from CompositeControl)Recreates the child controls in a control derived from CompositeControl.
Render 
RenderControl (inherited from Control)Overloaded. Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.
ResolveAdapter (inherited from Control)Gets the control adapter responsible for rendering the specified control.
SaveViewState (inherited from WebControl)Saves any state that was modified after the TrackViewState method was invoked.
SetDesignModeState (inherited from Control)Sets design-time data for a control.
TrackViewState (inherited from WebControl)Causes the control to track changes to its view state so they can be stored in the object's ViewState property.

Protected Internal Instance Methods

AddedControl (inherited from Control)Called after a child control is added to the Controls collection of the Control object.
CreateChildControls (inherited from Control)Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
LoadControlState (inherited from Control)Restores control-state information from a previous page request that was saved by the SaveControlState method.
MapPathSecure (inherited from Control)Retrieves the physical path that a virtual path, either absolute or relative, maps to.
OnLoad (inherited from Control)Raises the Load event.
OnUnload (inherited from Control)Raises the Unload event.
OpenFile (inherited from Control)Gets a Stream used to read a file.
RemovedControl (inherited from Control)Called after a child control is removed from the Controls collection of the Control object.
RenderChildren (inherited from Control)Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
RenderContents (inherited from WebControl)Renders the contents of the control to the specified writer. This method is used primarily by control developers.
SaveControlState (inherited from Control)Saves any server control state changes that have occurred since the time the page was posted back to the server.

See Also

CardSpaceButton Class | QualityData.Web.UI.WebControls Namespace