ViewSwitcher Methods
The ViewSwitcher type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AddParsedSubObject(System.Object) |
Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object. (Inherited from Control.) |
![]() |
ApplyStyleSheetSkin(System.Web.UI.Page) |
Applies the style properties defined in the page style sheet to the control. (Inherited from Control.) |
![]() |
BeginRenderTracing(System.IO.TextWriter,System.Object) |
Begins design-time tracing of rendering data. (Inherited from Control.) |
![]() |
BuildProfileTree(System.String,System.Boolean) |
Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page. (Inherited from Control.) |
![]() |
ClearCachedClientID |
Sets the cached ClientID value to null. (Inherited from Control.) |
![]() |
ClearChildControlState |
Deletes the control-state information for the server control's child controls. (Inherited from Control.) |
![]() |
ClearChildState |
Deletes the view-state and control-state information for all the server control's child controls. (Inherited from Control.) |
![]() |
ClearChildViewState |
Deletes the view-state information for all the server control's child controls. (Inherited from Control.) |
![]() |
ClearEffectiveClientIDMode |
Sets the ClientIDMode property of the current control instance and of any child controls to Inherit. (Inherited from Control.) |
![]() |
Construct |
Performs design-time logic. (Inherited from TemplateControl.) |
![]() |
CreateControlCollection |
Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control. (Inherited from Control.) |
![]() |
CreateResourceBasedLiteralControl(System.Int32,System.Int32,System.Boolean) |
Accesses literal strings stored in a resource. The CreateResourceBasedLiteralControl(System.Int32,System.Int32,System.Boolean) method is not intended for use from within your code. (Inherited from TemplateControl.) |
![]() |
DataBind |
Binds a data source to the invoked server control and all its child controls. (Inherited from Control.) |
![]() |
DataBind(System.Boolean) |
Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event. (Inherited from Control.) |
![]() |
DataBindChildren |
Binds a data source to the server control's child controls. (Inherited from Control.) |
![]() |
DesignerInitialize |
Performs any initialization steps on the user control that are required by RAD designers. (Inherited from UserControl.) |
![]() |
Dispose |
Enables a server control to perform final clean up before it is released from memory. (Inherited from Control.) |
![]() |
EndRenderTracing(System.IO.TextWriter,System.Object) |
Ends design-time tracing of rendering data. (Inherited from Control.) |
![]() |
EnsureChildControls |
Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from Control.) |
![]() |
EnsureID |
Creates an identifier for controls that do not have an identifier assigned. (Inherited from Control.) |
![]() |
Equals(System.Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FindControl(System.String) |
Searches the current naming container for a server control with the specified id parameter. (Inherited from Control.) |
![]() |
FindControl(System.String,System.Int32) |
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. (Inherited from Control.) |
![]() |
Focus |
Sets input focus to a control. (Inherited from Control.) |
![]() |
FrameworkInitialize |
Initializes the control that is derived from the TemplateControl class. (Inherited from TemplateControl.) |
![]() |
GetDesignModeState |
Gets design-time data for a control. (Inherited from Control.) |
![]() |
GetGlobalResourceObject(System.String,System.String) |
Gets an application-level resource object based on the specified ClassKey and ResourceKey properties. (Inherited from TemplateControl.) |
![]() |
GetGlobalResourceObject(System.String,System.String,System.Type,System.String) |
Gets an application-level resource object based on the specified ClassKey and ResourceKey properties, object type, and property name of the resource. (Inherited from TemplateControl.) |
![]() |
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
![]() |
GetLocalResourceObject(System.String) |
Gets a page-level resource object based on the specified ResourceKey property. (Inherited from TemplateControl.) |
![]() |
GetLocalResourceObject(System.String,System.Type,System.String) |
Gets a page-level resource object based on the specified ResourceKey property, object type, and property name. (Inherited from TemplateControl.) |
![]() |
GetRouteUrl(System.Object) |
Gets the URL that corresponds to a set of route parameters. (Inherited from Control.) |
![]() |
GetRouteUrl(System.String,System.Object) |
Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.) |
![]() |
GetRouteUrl(System.Web.Routing.RouteValueDictionary) |
Gets the URL that corresponds to a set of route parameters. (Inherited from Control.) |
![]() |
GetRouteUrl(System.String,System.Web.Routing.RouteValueDictionary) |
Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetUniqueIDRelativeTo(System.Web.UI.Control) |
Returns the prefixed portion of the UniqueID property of the specified control. (Inherited from Control.) |
![]() |
HasControls |
Determines if the server control contains any child controls. (Inherited from Control.) |
![]() |
HasEvents |
Returns a value indicating whether events are registered for the control or any child controls. (Inherited from Control.) |
![]() |
InitializeAsUserControl(System.Web.UI.Page) |
Initializes the UserControl object that has been created declaratively. Since there are some differences between pages and user controls, this method makes sure that the user control is initialized properly. (Inherited from UserControl.) |
![]() |
IsLiteralContent |
Determines if the server control holds only literal content. (Inherited from Control.) |
![]() |
LoadControl(System.String) |
Loads a Control object from a file based on a specified virtual path. (Inherited from TemplateControl.) |
![]() |
LoadControl(System.Type,System.Object[]) |
Loads a Control object based on a specified type and constructor parameters. (Inherited from TemplateControl.) |
![]() |
LoadTemplate(System.String) |
Obtains an instance of the ITemplate interface from an external file. (Inherited from TemplateControl.) |
![]() |
LoadViewState(System.Object) |
Restores the view-state information from a previous user control request that was saved by the SaveViewState method. (Inherited from UserControl.) |
![]() |
MapPath(System.String) |
Assigns a virtual file path, either absolute or relative, to a physical file path. (Inherited from UserControl.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnAbortTransaction(System.EventArgs) |
Raises the AbortTransaction event. (Inherited from TemplateControl.) |
![]() |
OnBubbleEvent(System.Object,System.EventArgs) |
Determines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from Control.) |
![]() |
OnCommitTransaction(System.EventArgs) |
Raises the CommitTransaction event. (Inherited from TemplateControl.) |
![]() |
OnDataBinding(System.EventArgs) |
Raises the DataBinding event. (Inherited from Control.) |
![]() |
OnError(System.EventArgs) |
Raises the Error event. (Inherited from TemplateControl.) |
![]() |
ParseControl(System.String) |
Parses an input string into a Control object on the Web Forms page or user control. (Inherited from TemplateControl.) |
![]() |
ParseControl(System.String,System.Boolean) |
Parses an input string into a Control object on the ASP.NET Web page or user control. (Inherited from TemplateControl.) |
![]() |
RaiseBubbleEvent(System.Object,System.EventArgs) |
Assigns any sources of the event and its information to the control's parent. (Inherited from Control.) |
![]() |
ReadStringResource |
Reads a string resource. The ReadStringResource method is not intended for use from within your code. (Inherited from TemplateControl.) |
![]() |
RenderControl(System.Web.UI.HtmlTextWriter) |
Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from Control.) |
![]() |
RenderControl(System.Web.UI.HtmlTextWriter,System.Web.UI.Adapters.ControlAdapter) |
Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object. (Inherited from Control.) |
![]() |
ResolveAdapter |
Gets the control adapter responsible for rendering the specified control. (Inherited from Control.) |
![]() |
ResolveClientUrl(System.String) |
Gets a URL that can be used by the browser. (Inherited from Control.) |
![]() |
ResolveUrl(System.String) |
Converts a URL into one that is usable on the requesting client. (Inherited from Control.) |
![]() |
SaveViewState |
Saves any user control view-state changes that have occurred since the last page postback. (Inherited from UserControl.) |
![]() |
SetDesignModeState(System.Collections.IDictionary) |
Sets design-time data for a control. (Inherited from Control.) |
![]() |
SetRenderMethodDelegate(System.Web.UI.RenderMethod) |
Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from Control.) |
![]() |
SetStringResourcePointer(System.Object,System.Int32) |
Sets a pointer to a string resource. The SetStringResourcePointer(System.Object,System.Int32) method is used by generated classes and is not intended for use from within your code. (Inherited from TemplateControl.) |
![]() |
SetTraceData(System.Object,System.Object) |
Sets trace data for design-time tracing of rendering data, using the trace data key and the trace data value. (Inherited from Control.) |
![]() |
SetTraceData(System.Object,System.Object,System.Object) |
Sets trace data for design-time tracing of rendering data, using the traced object, the trace data key, and the trace data value. (Inherited from Control.) |
![]() |
TestDeviceFilter(System.String) |
Returns a Boolean value indicating whether a device filter applies to the HTTP request. (Inherited from TemplateControl.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
TrackViewState |
Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the ViewState property. (Inherited from Control.) |
![]() |
TryUpdateModel``1(``0) |
Attempts to update the model instance by using the values from the data-bound control. (Inherited from UserControl.) |
![]() |
TryUpdateModel``1(``0,System.Web.ModelBinding.IValueProvider) |
Attempts to update the model instance using values from the value provider. (Inherited from UserControl.) |
![]() |
UpdateModel``1(``0) |
Updates the model instance by using values from the data-bound control. (Inherited from UserControl.) |
![]() |
UpdateModel``1(``0,System.Web.ModelBinding.IValueProvider) |
Updates the specified model instance using values from the value provider of the user control. (Inherited from UserControl.) |
![]() |
WriteUTF8ResourceString(System.Web.UI.HtmlTextWriter,System.Int32,System.Int32,System.Boolean) |
Writes a resource string to an HtmlTextWriter control. The WriteUTF8ResourceString(System.Web.UI.HtmlTextWriter,System.Int32,System.Int32,System.Boolean) method is used by generated classes and is not intended for use from within your code. (Inherited from TemplateControl.) |