System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Web.UI.TemplateControl System.Web.IHttpHandler System.ComponentModel.Designer("Microsoft.VisualStudio.Web.WebForms.WebFormDesigner, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.ComponentModel.Design.IRootDesigner)) System.ComponentModel.ToolboxItem(false) System.ComponentModel.DesignerCategory("ASPXCodeBehind") System.ComponentModel.DefaultEvent("Load")

The class is associated with files that have an .aspx extension. These files are compiled at run time as objects and cached in server memory.

If you want to create a Web Forms page using the code-behind technique, derive from this class. Rapid application development (RAD) designers, such as Microsoft Visual Studio, automatically use this model to create Web Forms pages.

The object serves as the naming container for all server controls in a page, except those that implement the interface or are child controls of controls that implement this interface.

The class is a control that acts as the user interface for your Web application, and as such should be scrutinized to make sure best practices for writing secure code and securing applications are followed. For general information on these topics, see Overview of Web Application Security Threats, Security Policy Best Practices, and Key Security Concepts. For more specific information, see Securing Standard Controls, How to: Display Safe Error Messages, How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings, and Introduction to the Validation Controls.

Represents an .aspx file, also known as a Web Forms page, requested from a server that hosts an ASP.NET Web application.

- Constructor

  The default constructor initializes all fields to their default values.

  Initializes a new instance of the class.

  1.0.5000.0
  2.0.0.0
- Method
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
  System.Void `` `` To be added.

  Called during page initialization to create a collection of content (from content controls) that is handed to a master page, if the current page or master page refers to a master page.

  The name of the content template to add. The content template
- Method
  2.0.0.0
  System.Void `` ``

  Use the method to add handlers to an asynchronous Web page.

  You can register multiple asynchronous handlers; however, only one handler runs at a time. If you want to process multiple asynchronous methods simultaneously, you should use a single method and launch multiple asynchronous operations from that handler.

  The asynchronous handlers are called between the and events.

  First, all events (through the event) are run, and then each registered method is called. When the handler completes, the corresponding method is called. If there are multiple asynchronous handlers, the next handler is called.

  After the registered asynchronous event handlers have been called, the rest of the page events are called, beginning with the event.

  Registers beginning and ending event handler delegates that do not require state information for an asynchronous page.

  The delegate for the method. The delegate for the method.
- Method
  2.0.0.0
  System.Void `` `` ``

  Use the method to add handlers that require state information to an asynchronous Web page. The object passed in the parameter can be any object that your application requires to transfer information between event handler delegates specified in the and the parameters.

  You can register multiple asynchronous handlers; however, only one handler runs at a time. If you want to process multiple asynchronous methods simultaneously, you should use a single method and launch multiple asynchronous operations from that handler.

  The asynchronous handlers are called between the and events.

  First, all events (through the event) are run, and then each registered method is called. When the handler completes, the corresponding method is called. If there are multiple asynchronous handlers, the next handler is called.

  After the registered asynchronous event handlers have been called, the rest of the page events are called, beginning with the event.

  Registers beginning and ending event handler delegates for an asynchronous page.

  The delegate for the method. The delegate for the method. An object containing state information for the event handlers.
- Method
  2.0.0.0
  System.Void ``

  The method adds a list of files, such as user control files, that make up the current page. If any of these pages is modified, the entire page is compiled the next time it is requested. This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

  Adds a list of dependent files that make up the current page. This method is used internally by the ASP.NET page framework and is not intended to be used directly from your code.

  An containing the list of file names.
- Property
  System.Web.HttpApplicationState a To be added

  Gets the object for the current Web request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Method
  System.IAsyncResult `` `` ``

  Do not call this method.

  Initiates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications.

  An object.

  An with information about the current request. The callback method. Any extra data needed to process the request in the same manner as an ASP request. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  System.Void ``

  Do not call this method.

  Terminates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications.

  The ASP page generated by the request. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.Boolean To be added: an object of type 'bool'

  When set to true, this property allows the page to be executed on a single-threaded apartment (STA) thread. This allows the page to call STA components, such as components developed with Visual Basic 6.0. Setting this property to true also allows the page to call COM+ components that require access to the unmanaged ASP built-in objects. These are accessible through the ASP ObjectContext object or the OnStartPage method.

  In most circumstances, do not set this property in code. Set the aspcompat attribute to true using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets a value indicating whether the page can be executed on a single-threaded apartment (STA) thread.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  2.0.0.0
  System.Boolean To be added.

  The property is set by the parser when code for the page is generated. Use the Async attribute in @ Page directive to set this value.

  Asynchronous pages do not work when the AspCompat attribute is set to true or the Transaction attribute is set to a value other than Disabled in the @ Page directive.

  Sets a value indicating whether the page is processed synchronously or asynchronously.

- Method
  2.0.0.0
  System.IAsyncResult `` `` `` To be added.

  Begins processing an asynchronous page request.

  An that references the asynchronous request.

  The for the request. The callback method to notify when the process is complete. State data for the asynchronous method.
- Method
  2.0.0.0
  System.Void `` To be added.

  Ends processing an asynchronous page request.

  An referencing a pending asynchronous request.
- Property
  2.0.0.0
  System.TimeSpan To be added.

  The asynchronous time-out of the page represents the amount of time that the page will wait to perform asynchronous tasks. In most circumstances, do not set this property in code. Set the page asynchronous time-out interval using the pages element of the Web configuration file or in the @ Page directive. Values set in the page configuration section are overwritten by the page directive.

  Define your asynchronous task using the class and register a beginning, an ending, and a time-out handler. If the asynchronous task does not complete in the time interval specified, the time-out handler will be invoked.

  Gets or sets a value indicating the time-out interval used when processing asynchronous tasks.

- Property
  System.Boolean To be added: an object of type 'bool'

  In most circumstances, do not set this property in code. Set the attribute to true using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  The property sets and gets the property.

  Sets a value indicating whether the page output is buffered.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.Web.Caching.Cache a

  An application's object allows you to store and retrieve arbitrary data on subsequent requests. The cache is not specifically associated with a page or user session. It is used primarily to enhance application performance. For more information, see Caching Application Data. For more information on the difference between application caching and page output caching, see Introduction to Caching in ASP.NET.

  Gets the object associated with the application in which the page resides.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  2.0.0.0
  System.String To be added.

  The property contains the query string portion of the URL requested by the browser. For example, if the requested URL is "http://www.contoso.com/default.aspx?id=100", the property will contain "id=100". The property is encoded; use the method to decode the query string.

  Gets the query string portion of the requested URL.

- Property
  2.0.0.0
  System.Web.UI.ClientScriptManager To be added.

  Use the property to get a object that can be used to manage, register, and add script to a Web page. For more information, see the class.

  The class is new in vstecasplong and replaces class methods for managing scripts that are now deprecated.

  Gets a object used to manage, register, and add script to the page.

- Property
  System.String To be added: an object of type 'string'

  If you do not set the property, the object associated with the property reflects the capabilities of the client browser. If you do set this property, client browser detection is disabled and the page will use browser capabilities associated with the value (alias) that you provide.

  The root Web.config configuration file on the Web server computer defines the following default aliases that you can use as shorthand for common user-agent strings:

  uplevel, which specifies browser capabilities equivalent to Internet Explorer 6.0.

  downlevel, which specifies browser capabilities equivalent to older browsers that do not support client script. You can use this alias to determine how Web pages would work in a browser that has client script disabled.

  You can set the alias programmatically using this property, or you can set it declaratively using the ClientTarget attribute of the @ Page directive.

  You can define additional aliases in the clientTarget section of the application-level Web.config file. For more information, see clientTarget Element (ASP.NET Settings Schema).

  Gets or sets a value that allows you to override automatic detection of browser capabilities and to specify how a page is rendered for particular browser clients.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue("")
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Property
  System.Int32 To be added: an object of type 'int'

  In most circumstances, do not set this property in code. Set the CodePage attribute to the value you want using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets the code page identifier for the current .

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.String To be added: an object of type 'string'

  In most circumstances, do not set this property in code. Set the ContentType attribute using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets the HTTP MIME type for the object associated with the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.Web.HttpContext a

  This property provides programmatic access to the context the page runs in, including information about the request, response, session, and application.

  Gets the object associated with the page.

  1.0.5000.0
  2.0.0.0
- Method
  System.Web.UI.HtmlTextWriter ``

  The method creates a through the property of the object associated with the page request. You can add a reference to an in the browserCaps configuration section. Override the method to perform custom lookup.

  Creates an object to render the page's content.

  An or .

  The used to create the . 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Method
  2.0.0.0
  System.Web.UI.HtmlTextWriter `` ``

  This method is used internally in page adapters.

  Creates a specified object to render the page's content.

  An that renders the content of the page.

  The used to create the . The type of text writer to create.
- Property
  System.String To be added: an object of type 'string'

  Set the Culture attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the value of this property. In addition, you can also explicitly set the value of the property programmatically or in the globalization element of the Web.config file.

  The property is used to help localize page content. You can set it to any valid culture ID. For example, the en-us culture ID sets the page to American English, while the fr culture ID sets the page to French. You can also set the value to auto which will perform automatic detection of the browser's preferred language and set it. The automatic language detection can be qualified with a default value such as auto:en-us.

  For more information, see the class overview.

  Sets the culture ID for the object associated with the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Method
  System.Void To be added

  Performs any initialization of the instance of the class that is required by RAD designers. This method is used only at design time.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  System.Collections.Specialized.NameValueCollection

  The method returns a object that contains the data posted back to the page. The presence of the page hidden fields VIEWSTATE and EVENTTARGET is used to help determine whether a postback event has occurred. The property is set when the method is called.

  Returns a of data posted back to the page using either a POST or a GET command.

  A object that contains the form data. If the postback used the POST command, the form information is returned from the object. If the postback used the GET command, the query string information is returned. If the page is being requested for the first time, null is returned.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Property
  2.0.0.0
  System.Boolean To be added.

  When the property is set to true, ASP.NET validates that a control event originated from the user interface that was rendered by that control. A control registers its events during rendering and then validates the events during postback or callback handling. For example, if a list control includes options numbered 1, 2, or 3 when the page is rendered, and if a postback request is received specifying option number 4, ASP.NET raises an exception. All event-driven controls in ASP.NET use this feature by default.

  If you write client script that changes a control in the client at run time, you might have to use the method in order to avoid false event validation errors.

  This feature reduces the risk of unauthorized or malicious postback requests and callbacks. It is strongly recommended that you do not disable event validation.

  You set the property by setting the enableEventValidation attribute of the @ Page directive or the enableEventValidation attribute of the pages element in the Web.config file. If you set this property in code, you must set it before the page is initialized.

  Gets or sets a value indicating whether the page validates postback and callback events.

- Property
  System.Boolean a

  For information about why you might want to disable view state, see .

  Even if is false, the page might contain a hidden view state field that is used by ASP.NET to detect a postback.

  Gets or sets a value indicating whether the page maintains its view state, and the view state of any server controls it contains, when the current page request ends.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
- Property
  System.Boolean To be added: an object of type 'bool'

  A view-state MAC is an encrypted version of the hidden variable that a page's view state is persisted to when the page is sent to the browser. When this property is set to true, the encrypted view state is checked to verify that it has not been tampered with on the client.

  Do not set this property in code. Set the EnableViewStateMac attribute using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  This attribute should never be set to false in a production Web site, even if the application or page does not use view state. The view state MAC helps ensure the security of other ASP.NET functions in addition to view state.

  Gets or sets a value indicating whether ASP.NET should check message authentication codes (MAC) in the page's view state when the page is posted back from the client.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  System.String To be added: an object of type 'string' To be added

  Gets or sets the error page to which the requesting browser is redirected in the event of an unhandled page exception.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue("")
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Method
  2.0.0.0
  System.Void

  Define an asynchronous task using the class. After the task is defined, and is registered with the page using the method, the method can be invoked to begin the asynchronous task.

  The method is automatically called at the point in the page processing when any registered asynchronous tasks, if they exist, are invoked for a non-asynchronous page. This automatic call to occurs just before the event. Call the method for tasks you want to be invoked at times other than the automatic call to this method. Note, asynchronous tasks will be executed only once even though may be called more than once.

  The property is reset on every call to the method. The last value of the prior to invoking the method takes precedence. If an asynchronous task takes more than the , subsequent tasks invoked during that call are timed out immediately.

  Starts the execution of an asynchronous task.

- Property
  System.Collections.ArrayList a

  This property has been deprecated. Use the method or the method of the class instead.

  In most circumstances, do not set this property in code. Set the FileDependencies attribute to true using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets an array of files that the current object is dependent upon.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
  System.Obsolete
- Method
  2.0.0.0
  System.Web.UI.Control ``

  The method can be used to access a control whose is not available at design time. The method searches only the page's immediate, or top-level, container; it does not recursively search for controls in naming containers contained on the page. To access controls in a subordinate naming container, call the FindControl method of that container.

  Searches the page naming container for a server control with the specified identifier.

  The specified control, or null if the specified control does not exist.

  The identifier for the control to be found.
- Property
  2.0.0.0
  System.Web.UI.HtmlControls.HtmlForm To be added.

  Use the property to access the methods and properties of the object that is the base of the control hierarchy on the page.

  Gets the HTML form for the page.

- Method
  1.0.5000.0
  2.0.0.0
  System.Void

  The method initializes the object and creates the control tree based on the declarative nature of the page. The method is overridden by the page parsing and code generation for the class for a declarative page. Ordinarily, you should not over need to override this method. If overriding, be sure to call the base class's method.

  Initializes the control tree during page generation based on the declarative nature of the page.

- Method
  2.0.0.0
  System.Object To be added.

  Gets the data item at the top of the data-binding context stack.

  The object at the top of the data binding context stack.

- Method
  System.String `` ``

  See the class for alternatives to this deprecated member.

  Gets a reference that can be used in a client event to post back to the server for the specified control and with the specified event arguments.

  The string that represents the client event.

  The server control that receives the client event postback. A that is passed to . 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.String `` ``

  See the method for an alternative to this deprecated member.

  Gets a reference, with javascript: appended to the beginning of it, that can be used in a client event to post back to the server for the specified control and with the specified event arguments.

  A string representing a JavaScript call to the postback function that includes the target control's ID and event arguments.

  The server control to process the postback. The parameter passed to the server control. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.String ``

  This method has been deprecated. Use the method in the class instead.

  Returns a string that can be used in a client event to cause postback to the server. The reference string is defined by the specified object.

  A string that, when treated as script on the client, initiates the postback.

  The server control to process the postback on the server. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.String `` ``

  This method has been deprecated. Use the method in the class instead.

  Returns a string that can be used in a client event to cause postback to the server. The reference string is defined by the specified control that handles the postback and a string argument of additional event information.

  A string that, when treated as script on the client, initiates the postback.

  The server control to process the postback. The parameter passed to the server control. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.Int32

  Do not override this method.

  Retrieves a hash code that is generated by objects that are generated at run time. This hash code is unique to the object's control hierarchy.

  The hash code generated at run time. The default is 0.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  2.0.0.0
  System.Web.UI.ValidatorCollection ``

  The method returns all the validation objects associated with a specific validation group. You can return the default validation group (all validation controls associated with controls without the ValidationGroup property set) by setting the parameter to null.

  To validate the members of the validation group, you can enumerate over the collection and call the method of each validator returned.

  Returns a collection of control validators for a specified validation group.

  A that contains the control validators for the specified validation group.

  The validation group to return, or null to return the default validation group.
- Method
  2.0.0.0
  System.Object `` To be added.

  The method gets a list of files, such as user control files, that make up the current page. If any of these pages are modified, the entire page is compiled the next time it is requested. Do not override this method.

  Returns a list of physical file names that correspond to a list of virtual file locations.

  An object containing a list of physical file locations.

- Property
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.Web.UI.HtmlControls.HtmlHead To be added.

  The property gets a reference to an object that you can use to set document header information for the page. The allows you to add information such as style sheets, style rules, a title, and metadata to the head element.

  Adding styles programmatically using the methods of the interface during asynchronous postbacks is not supported. When you add AJAX capabilities to a Web page, asynchronous postbacks update regions of the page without updating the whole page. For more information, see ASP.NET AJAX Overview.

  Gets the document header for the page if the head element is defined with a runat=server in the page declaration.

- Property
  System.String a To be added

  Gets or sets an identifier for a particular instance of the class.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
  System.ComponentModel.Browsable(false)
- Property
  2.0.0.0
  System.Char To be added. To be added.

  Gets the character used to separate control identifiers when building a unique ID for a control on a page.

- Event
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.EventHandler

  The event is called at the end of the page's initialization stage. At this stage of the page's life cycle, all declared controls on the page are initialized, but the page's state is not yet populated. You can access server controls, but they will not yet contain information returned from the user.

  For more information about handling events, see Consuming Events.

  Occurs when page initialization is complete.

- Method
  2.0.0.0
  System.Void

  The method contains no coding logic. Control developers extending the functionality of the class can override the method to initialize the and information for the page.

  Sets the and for the current thread of the page.

- Method
  2.0.0.0
  System.Void ``

  You should not call this method. To enable and manipulate output caching for a page, use either the @ OutputCache directive in the .aspx file, or the methods and properties of the class. The latter are accessible through Response.Cache syntax in the page's code declaration block or code-behind file. For more information, see Caching ASP.NET Pages.

  Initializes the output cache for the current page request based on an object.

  An that contains the cache settings.
- Method
  System.Void `` `` `` `` ``

  You should not call this method. To enable and manipulate output caching for a page, use either the @ OutputCache directive in the .aspx file, or the methods and properties of the class. The latter are accessible through Response.Cache syntax in the page's code. For more information, see Caching ASP.NET Pages.

  Initializes the output cache for the current page request.

  The amount of time that objects stored in the output cache are valid. A semicolon-separated list of headers that content from the output cache will vary by. The Vary HTTP header. One of the values. A semicolon-separated list of parameters received by a GET or POST method that content from the output cache will vary by. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  2.0.0.0
  System.Void `` `` `` `` `` ``

  You should not call this method. To enable and manipulate output caching for a page, use either the @ OutputCache directive in the .aspx file, or methods and properties of the class. The latter are accessible through Response.Cache syntax in the page's code. For more information, see Caching ASP.NET Pages.

  Initializes the output cache for the current page request.

  The amount of time that objects stored in the output cache are valid. A semicolon-separated list of character-sets (content encodings) that content from the output cache will vary by. A semicolon-separated list of headers that content from the output cache will vary by. The Vary HTTP header. One of the values. A semicolon-separated list of parameters received by a GET or POST method that content from the output cache will vary by.
- Property
  2.0.0.0
  System.Boolean To be added.

  Use the property to determine whether the Web page is running in asynchronous mode. This information is useful if controls or code on the page need to modify their behavior depending on whether the page is asynchronous. For more information about asynchronous programming, see Performing Asynchronous Operations.

  Gets a value indicating whether the page is processed asynchronously.

- Property
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.Boolean To be added.

  For more information, see Implementing Client Callbacks Programmatically Without Postbacks in ASP.NET Web Pages.

  Gets a value that indicates whether the page request is the result of a callback.

- Method
  System.Boolean ``

  Call this method before calling to avoid unnecessarily assembling the client-side script. This is particularly important if the script requires a large amount of server resources to create.

  The method has been deprecated. Use the method in the class.

  Determines whether the client script block with the specified key is registered with the page.

  true if the script block is registered; otherwise, false.

  The string key of the client script to search for. 1.0.5000.0 2.0.0.0 System.Obsolete
- Property
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.Boolean To be added.

  ASP.NET provides two mechanisms for transferring control from one page to another. You can use the method to transfer processing between pages, or you can make a cross-page request by assigning a page URL to the property of a button control that implements the interface.

  In either case, the page property will contain an object that represents the previous or originator page. If, for example, Page A posts to Page B, Page A's property (accessible through the property) will be true and Page B's property will have the name of Page A.

  Gets a value indicating whether the page is involved in a cross-page postback.

- Property
  System.Boolean To be added: an object of type 'bool'

  For an explanation of the difference between postbacks and callbacks, see Implementing Client Callbacks Programmatically Without Postbacks in ASP.NET Web Pages.

  Gets a value that indicates whether the page is being rendered for the first time or is being loaded in response to a postback.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  System.Boolean To be added: an object of type 'bool' To be added

  Gets a value indicating whether the object can be reused.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  System.Boolean ``

  Call this method before calling to avoid unnecessarily assembling the client-side script. This is particularly important if the script requires a large amount of server resources to create.

  The method has been deprecated. Use the method in the class.

  Determines whether the client startup script is registered with the object.

  true if the startup script is registered; otherwise, false.

  The string key of the startup script to search for. 1.0.5000.0 2.0.0.0 System.Obsolete
- Property
  System.Boolean To be added: an object of type 'bool'

  For this property to return true, all validation server controls in the current validation group must validate successfully. You should check this property only after you have called the method, or set the CausesValidation property to true in the OnServerClick event handler for an ASP.NET server control that initiates form processing. These server controls include the , , , , , and classes.

  If you force validation of a validation group using the method, then all validation controls in the specified validation group must validate successfully as well.

  Gets a value indicating whether page validation succeeded.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  2.0.0.0
  System.Collections.IDictionary To be added.

  Use the property to store objects with the same lifetime as the page request. This property is read-only; however, you can add objects to the object it returns.

  Objects added to the property are available throughout the lifetime of the page, so you can add objects to the property in events early in the page life cycle and access those objects in later events.

  Gets a list of objects stored in the page context.

- Property
  System.Int32 To be added: an object of type 'int'

  In most circumstances, do not set this property in code. The LCID attribute can be set in the @ Page directive of the .aspx file, however, the preferred method of setting the locale identifier is through the use of the and properties.

  Sets the locale identifier for the object associated with the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Event
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.EventHandler

  The event occurs after all postback data and view-state data is loaded into the page and after the method has been called for all controls on the page.

  For more information about handling events, see Consuming Events.

  Occurs at the end of the load stage of the page's life cycle.

- Method
  System.Object

  The method uses the method of the object referenced by the property to load any saved view-state information for the object.

  ASP.NET includes two descendents of the class, the class that saves state information in a hidden field included in the ASP.NET page, and the class that saves state in the object associated with the request.

  To save state in the location of your choice, you should create a new descendent of the class that saves and loads state to the persistence medium of your choice. For an example of creating a new object, see the class.

  If you are using the .NET Framework version 1.0 or 1.1, override this method if you want to load the state from anything other than a hidden field. If you choose to do so, you must also override the method.

  Loads any saved view-state information to the object.

  The saved view state.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Property
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.Boolean To be added.

  When Web pages are posted back to the server, the user is returned to the top of the page. On long Web pages, this means that the user has to scroll the page back to the last position on the page.

  When the property is set to true, the user is instead returned to the last position on the page.

  You set the property in the @ Page directive.

  Gets or sets a value indicating whether to return the user to the same position in the client browser after postback. This property replaces the obsolete property.

- Method
  System.String ``

  The property can potentially contain sensitive information about the hosting environment. The return value should not be displayed to users.

  Retrieves the physical path that a virtual path, either absolute or relative, or an application-relative path maps to.

  The physical path associated with the virtual path or application-relative path.

  A that represents the virtual path. 1.0.5000.0 2.0.0.0
- Property
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.Web.UI.MasterPage To be added.

  The property returns the object associated with this page. This property is read-only; however, you can set properties on the object it returns.

  The property is valid only on pages that reference a master page in the property. If you access the property on a page that does not reference a master page, null is returned. The contents of a master page are not available until after the event has been raised.

  Gets the master page that determines the overall look of the page.

- Property
  2.0.0.0
  System.ComponentModel.DefaultValue("")
  System.String To be added.

  The property is a virtual path (from the root of the application) of the master page file associated with this page. The property can be set only in the event; attempting to set the property after the event will throw an exception. If the property is not valid, an exception of type is thrown later in the page life cycle, but no exception is thrown when the property is set in the event.

  Pages that have the property set are content pages, and therefore can contain only top-level controls that are controls.

  Gets or sets the virtual path of the master page.

- Property
  2.0.0.0
  System.Int32 To be added.

  When the property is set to a positive number, the view state sent to the client browser is broken into multiple hidden fields, and each field's value is less than the size specified in the property.

  Setting the property to a negative number (the default) indicates that the view-state field should not be separated into chunks. Setting the to a small number may result in poor performance.

  Set the value of the property in the pages element of the Web.config file.

  Gets or sets the maximum length for the page's state field.

- Method
  2.0.0.0
  System.Void ``

  The method performs the initialization and setup steps required to create a instance. In this stage of the page's life cycle, declared server controls on the page are initialized to their default state; however, the view state of each control is not yet populated. A control on the page cannot access other server controls on the page during the Page_Init phase, regardless of whether the other controls are child or parent controls. Other server controls are not guaranteed to be created and ready for access.

  The method is called after the method and before the method.

  Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event to initialize the page.

  An that contains the event data.
- Method
  2.0.0.0
  System.Void ``

  The method is called after page initialization is complete. In this stage of the page's life cycle, all declared controls on the page are initialized, but the page's view state is not yet populated. You can access server controls, but they will not yet contain information returned from the user.

  The method occurs at the end of the initialization stage and before the load stage.

  Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event after page initialization.

  An that contains the event data.
- Method
  2.0.0.0
  System.Void ``

  The method is called at the end of the page load stage. At this point in the page life cycle, all postback data and view-state data is loaded into controls on the page.

  Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event at the end of the page load stage.

  An that contains the event data.
- Method
  2.0.0.0
  System.Void ``

  The method is called at the beginning of the page initialization stage.

  After the method is called, personalization information is loaded and the page theme, if any, is initialized. This is also the preferred stage to dynamically define a or for the Page.

  Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event at the beginning of page initialization.

  An that contains the event data.
- Method
  2.0.0.0
  System.Void ``

  The method is called after all postback data returned from the user is loaded. At this stage in the page's life cycle, view-state information and postback data for declared controls and controls created during the initialization stage are loaded into the page's controls.

  Controls created in the method will also be loaded with view-state and postback data.

  Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event after postback data is loaded into the page server controls but before the event.

  An that contains the event data.
- Method
  2.0.0.0
  System.Void ``

  The method is called when the prerendering stage of the page life cycle is complete. At this stage of the page life cycle, all controls are created and the page is ready to render the output.

  This is the last event called before the page's view state is saved.

  Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event after the event and before the page is rendered.

  An that contains the event data.
- Method
  2.0.0.0
  System.Void ``

  The method is called when the state information for the control has been written to the persistence medium for the page. State information is written to the persistence medium by calling the method.

  Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

  The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

  Raises the event after the page state has been saved to the persistence medium.

  A object containing the event data.
- Property
  2.0.0.0
  System.Web.UI.Adapters.PageAdapter To be added.

  The property returns the specific object that modifies the behavior of the object for the requesting browser.

  The specific object is determined by examining characteristics of the incoming object. When an adapter is chosen for the request, any life cycle events on the object override the corresponding events on the object.

  Gets the adapter that renders the page for the specific requesting browser.

- Property
  2.0.0.0
  System.Web.UI.PageStatePersister To be added.

  HTTP requests and responses are inherently stateless. To maintain state between HTTP requests, ASP.NET server pages can store state. This state, called view state, consists of page and control settings and data that make the page and controls appear as if they are the same ones that the user saw and interacted with on their last round trip to the page. Several mechanisms exist to store view state between successive requests to the same page. The abstract class represents the base class for these state storage mechanisms.

  Page developers will typically not need to use the property. The property is used primarily by control developers extending the functionality of the class.

  Gets the object associated with the page.

- Field
  System.String To be added

  A string that defines the EVENTARGUMENT hidden field in the rendered page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Field
  System.String To be added

  A string that defines the EVENTTARGET hidden field in the rendered page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Event
  2.0.0.0
  System.EventHandler

  This event enables you to check conditions of the page request, such as whether the page is being loaded in response to a postback. You can also check the values of profile properties.

  The event enables you to set values that are used later in the page life cycle. You can dynamically set a master page or a theme for the requested page, and create dynamic controls.

  For more information about how the event fits into the ASP.NET life cycle, see Introduction to the ASP.NET Page Life Cycle.

  Occurs before page initialization.

- Event
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.EventHandler

  The event is raised after all postback data processing and before the event. There is a second attempt to load postback data before the event. For more information about handling events, see Consuming Events.

  Occurs before the page event.

- Event
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.EventHandler

  The event is raised when the pre-render stage of the page life cycle is complete. At this stage of the page life cycle, all controls are created, any pagination required is completed, and the page is ready to render to the output.

  This is the last event raised before the page's view state is saved.

  For more information about handling events, see Consuming Events.

  Occurs before the page content is rendered.

- Property
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.Web.UI.Page To be added.

  When you use the method or use cross-page posting to transfer processing from one ASP.NET page to another, the originating page contains request information that might be required for the destination page. You can use the property to access that information.

  If the current page is being rendered as a result of a direct request (not a transfer or cross-post from another page), the property contains null.

  Gets the page that transferred control to the current page.

- Method
  System.Void ``

  You should not call this method.

  Sets the intrinsic server objects of the object, such as the , , , and properties.

  An object that provides references to the intrinsic server objects (for example, , , and ) used to service HTTP requests. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  System.Void `` ``

  The object calls the method when a postback occurs. This call occurs in the page life cycle after loading and change notification are complete but before prerendering occurs.

  Notifies the server control that caused the postback that it should handle an incoming postback event.

  The ASP.NET server control that caused the postback. This control must implement the interface. The postback argument. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Method
  System.Void `` ``

  This method can be used by script-based controls to declare themselves within an array so that a client script library can work with all the controls of the same type.

  The method has been deprecated. Use the method in the class.

  Declares a value that is declared as an ECMAScript array declaration when the page is rendered.

  The name of the array in which to declare the value. The value to place in the array. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  2.0.0.0
  System.Void ``

  Define an asynchronous task using the class. When the task is defined, use the method to register the task with the page. After registering the task, invoke the method to begin the asynchronous task.

  The method can be used with both synchronous and asynchronous pages.

  Registers a new asynchronous task with the page.

  A that defines the asynchronous task.
- Method
  System.Void `` ``

  The client-side script is emitted just after the opening tag of the object's <form runat= server> element. Be sure to include opening and closing <script> elements around the script block string specified in the parameter.

  Because this method uses a key to identify the script block, the script block does not have to be emitted to the output stream each time it is requested by a different server control instance. Using a key also decreases the likelihood of different controls' script blocks interfering with each other.

  Any script blocks with the same parameter values are considered duplicates.

  Remember to include HTML comment tags around your script so that it will not be rendered if the requesting browser does not support scripts.

  The method has been deprecated. Use the method in the class instead.

  Emits client-side script blocks to the response.

  Unique key that identifies a script block. Content of script that is sent to the client. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.Void `` ``

  The method has been deprecated. Use the method in the class.

  Allows server controls to automatically register a hidden field on the form. The field will be sent to the object when the server control is rendered.

  The unique name of the hidden field to be rendered. The value to be emitted in the hidden form. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.Void `` ``

  The method has been deprecated. Use the method in the class.

  Allows a page to access the client OnSubmit event. The script should be a function call to client code registered elsewhere.

  Unique key that identifies a script block. The client-side script to be sent to the client. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.Void ``

  Custom server controls that use control state must call the method on each request because registration for control state is not carried over from request to request during a postback event. It is recommended that registration occur in the event.

  Registers a control as one whose control state must be persisted.

  The control to register.
- Method
  System.Void ``

  The control to be registered must implement the interface or an is raised. When implemented by a control, the interface enables handling of post back data and raising of any post back data changed events. For more information on the server control event model, see ASP.NET Server Control Event Model.

  Register controls with the page at or before the Page_PreRender event of the page life cycle.

  Registers a control as one that requires postback handling when the page is posted back to the server.

  The control to be registered. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Method
  System.Void ``

  Only one server control can be registered per page request. The must be used when the control does not include its control ID in the form post data. Also, the control that is registered must implement the interface.

  Registers an ASP.NET server control as one requiring an event to be raised when the control is processed on the object.

  The control to register. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Method
  2.0.0.0
  System.Void

  If you are developing a custom control that deals with potentially sensitive information, call the method to register the control with the page and ensure view state for the control is encrypted.

  The entire page state will be encrypted if the is set to or .

  Registers a control with the page as one requiring view-state encryption.

- Method
  System.Void `` ``

  Similar to the method, the method emits the script just before the closing tag of the object's <form runat= server> element. Be sure to include opening and closing <script> elements around the script block string specified in the parameter.

  Because this method uses a key to identify the script block, the script block does not have to be emitted to the output stream each time it is requested by a different server control instance

  Any script blocks with the same parameter values are considered duplicates.

  Remember to include HTML comment tags around your script so that it will not be rendered if the requesting browser does not support scripts.

  The method has been deprecated. Use the method in the class instead.

  Emits a client-side script block in the page response.

  Unique key that identifies a script block. Content of script that will be sent to the client. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced) System.Obsolete
- Method
  System.Void

  The method is automatically called through the server control. If this method is not invoked, the page view state will not be persisted.

  Typically, only the server control for the page calls this method.

  Causes page view state to be persisted, if called.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Method
  2.0.0.0
  System.Void ``

  The method is responsible for creating the text and markup that is sent to the client browser. The default method calls to write the text and markup for the controls contained on the page.

  Initializes the object and calls on the child controls of the to render.

  The that receives the page content.
- Property
  System.Web.HttpRequest a

  The object contains information about the current HTTP request.

  Gets the object for the requested page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Method
  2.0.0.0
  System.Boolean ``

  Control state is an object composed of critical view-state data that Web server controls need to function; it is contained in a separate object from normal view state.

  Custom controls using control state must call the method before saving control state. Use the method to check for controls that are registered with the page as requiring control state.

  Determines whether the specified object is registered to participate in control state management.

  true if the specified requires control state; otherwise, false

  The to check for a control state requirement.
- Property
  System.Web.HttpResponse a To be added

  Gets the object associated with the object. This object allows you to send HTTP response data to a client and contains information about that response.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  System.String To be added: an object of type 'string'

  In most circumstances, do not set this property in code. Set the ResponseEncoding attribute to the value you want using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets the encoding language for the current object.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Method
  System.Void `` To be added: an object of type 'object'

  The method uses the method of the object referenced by the property to store view-state and control-state information for the page.

  ASP.NET includes two descendents of the class, the class that saves state information in a hidden field included in the ASP.NET page, and the class that saves state in the object associated with the request. Note that when using the class the hidden VIEWSTATE field is still rendered as this is used to determine post back.

  To save state in the location of your choice, you should create a new descendent of the class that saves and loads state to the persistence medium of your choice. For an example of creating a new object, see the class.

  If you are using the .NET Framework version 1.0 or 1.1, override this method if you want to save the state in anything other than a hidden field. If you choose to do so, you must also override the method.

  Saves any view-state and control-state information for the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Event
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.EventHandler

  State information for controls on the Web page is saved after the event. The event is raised after the view state and control state of the page and controls on the page are saved to the persistence medium.

  This is the last event raised before the page is rendered to the requesting browser.

  For more information about handling events, see Handling and Raising Events.

  Occurs after the page has completed saving all view state and control state information for the page and controls on the page.

- Property
  System.Web.HttpServerUtility a

  This property provides access to the frequently used and methods, among others.

  Gets the Server object, which is an instance of the class.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  System.Web.SessionState.HttpSessionState a

  This property provides information about the current request's session. A Session object is maintained for each user that requests a page or document from an ASP.NET application. Variables stored in the Session object are not discarded when the user moves from page to page in the application; instead, these variables persist as long as the user is accessing pages in your application. For more information about session state, see ASP.NET Session State Overview.

  Gets the current Session object provided by ASP.NET.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Method
  2.0.0.0
  System.Void ``

  Use the method to make the control with the specified ID string the active control in the Web page displayed by the browser. The method must be called before the page is prepared for rendering to the client in the event.

  The method will work only on browsers supporting ECMAScript version 1.3 or later.

  Sets the browser focus to the control with the specified identifier.

  The ID of the control to set focus to.
- Method
  2.0.0.0
  System.Void ``

  Use the method to make the specified control the active control on the Web page displayed by the browser. The method must be called before the page is prepared for rendering to the client in the event.

  The method will work only on browsers supporting ECMAScript version 1.3 or later.

  Sets the browser focus to the specified control.

  The control to receive focus.
- Property
  System.Boolean To be added: an object of type 'bool'

  In most circumstances, do not set this property in code. Set the SmartNavigation attribute to true in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets this property.

  In ASP.NET version 2.0, the property is deprecated. Use the method and the property instead.

  When a page is requested by Microsoft Internet Explorer 5.5 browser, or later, smart navigation enhances the user's experience of the page by performing the following:

  Eliminating the flash caused by navigation.

  Persisting the scroll position when moving from page to page.

  Persisting element focus between navigations.

  Retaining only the last page state in the browser's history.

  Smart navigation is best used with ASP.NET pages that require frequent postbacks but with visual content that does not change dramatically on return. Consider this carefully when deciding whether to set this property to true.

  Gets or sets a value indicating whether smart navigation is enabled. This property is deprecated.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.Obsolete
  System.Web.UI.Filterable(false)
- Property
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.Web.UI.Filterable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.String To be added.

  This property does not refer directly to a cascading style sheet (CSS). The property contains the name of an ASP.NET theme, which can include CSS files within it.

  The property specifies the name of a theme that is applied to a page early in the page life cycle, whereas the property specifies the name of a theme that is applied to a page later in the page life cycle. This means that settings on the page take precedence over settings in the style sheet theme. For more information, see ASP.NET Themes and Skins Overview.

  You typically set a value for this property in the page directive or by overriding the property. For information, see the following topics:

  How to: Apply ASP.NET Themes

  How to: Apply ASP.NET Themes Programmatically )

  Gets or sets the name of the theme that is applied to the page early in the page life cycle.

- Property
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.String To be added.

  The property sets the name of the theme used for the page. If you want the settings on the page to take precedence over the settings in the theme, use the property. For more information, see ASP.NET Themes and Skins Overview.

  The property must be set prior to the event; setting the property after the event will cause an exception.

  The specified theme must exist as either an application or a global theme. If the theme does not exist, an exception is thrown.

  Gets or sets the name of the page theme.

- Property
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Bindable(true)
  System.ComponentModel.Localizable(true)
  System.String To be added.

  Use the property to set the page title in the HTML header sent to the requesting browser.

  The page must contain a head element that has the attribute runat="server", otherwise the title will not render.

  Gets or sets the title for the page.

- Property
  System.Web.TraceContext a

  Tracing tracks and presents the execution details about a Web request. For trace data to be visible in a rendered page, you must enable tracing at the page or application level.

  Tracing on a page is disabled by default. To enable tracing for a page, use the @ Page directive <% @ Page trace="true" %>. To enable tracing for an entire application, you must enable it in the application's configuration file, Web.config, which resides in the root directory of the application. For more information, see ASP.NET Tracing Overview.

  Gets the object for the current Web request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Property
  System.Boolean To be added: an object of type 'bool'

  In most circumstances, do not set this property in code. Set the Trace attribute to true in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets a value indicating whether tracing is enabled for the object.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.Web.TraceMode a

  In most circumstances, do not set this property in code. Set the TraceMode attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets the mode in which trace statements are displayed on the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.Int32 To be added: an object of type 'int'

  In most circumstances, do not set this property in code. Set the Transaction attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

  Sets the level of transaction support for the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
- Property
  System.String To be added: an object of type 'string'

  This property is a shortcut for the property. The culture is a property of the executing thread

  Set the UICulture attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the value of this property. In addition, you can also explicitly set the value of the property in the globalization element of the Web.config file.

  Sets the user interface (UI) ID for the object associated with the page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Property
  2.0.0.0
  System.String To be added.

  The property returns a string that is appended to the end of a file path when required for caching browsers. The string is used to identify the file path associated with a specific request.

  Gets a unique suffix to append to the file path for caching browsers.

- Method
  2.0.0.0
  System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
  System.Void ``

  Custom server controls that use control state must call the on each request during before the state is persisted. Registration for control state is not carried over from request to request during a postback. Use the method to ensure that control state is not persisted for controls that no longer need to be persisted for postback.

  Internally, the method is invoked when using the method to remove a control from a controls collection.

  Stops persistence of control state for the specified control.

  The for which to stop persistence of control state.
- Property
  System.Security.Principal.IPrincipal a

  An object represents the security context of the user on whose behalf the code is running, including that user's identity and any roles to which they belong.

  This property uses the object's property to determine where the request originates.

  Gets information about the user making the page request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Method
  System.Void

  This method is invoked when a user clicks any ASP.NET server control that has the CausesValidation property set to true, which is the default. These include the , , and Web server controls, the , , and HTML server controls, and controls that can automatically post back to the server such as the , , , and controls.

  To disable validation for any button control on the page, set the button control's CausesValidation property to false.

  When this method is invoked, it iterates through the validation controls contained in the object associated with the property and invokes the validation logic for each validation control in the current validation group. The validation group is determined by the control that posted the page to the server. If no validation group is specified, then no validation group is used.

  The behavior of page validation has changed. In vstecasplong, controls no longer call the method; they use the method instead. If you use the method on an vstecasplong page, validation groups are ignored and all controls are validated.

  Instructs any validation controls included on the page to validate their assigned information.

  1.0.5000.0
  2.0.0.0
- Method
  2.0.0.0
  System.Void ``

  This method is invoked when a user clicks any ASP.NET server control that has the CausesValidation property set to true, which is the default. These include the , , and Web server controls, the , , and HTML server controls, and controls that can automatically post back to the server such as the , , , and controls.

  To disable validation for any button control on the page, set the button control's CausesValidation property to false.

  The method validates the specified validation group. After calling the method on a validation group, the method will return true only if both the specified validation group and the validation group of the control that caused the page to be posted to the server are valid.

  Instructs the validation controls in the specified validation group to validate their assigned information.

  The validation group name of the controls to validate.
- Property
  System.Web.UI.ValidatorCollection To be added: an object of type 'ValidatorCollection'

  You can use this property to manipulate the methods and properties of the object associated with the current instance. This collection contains all the validation server controls that are contained in a page.

  Calling the method causes validation logic to be executed for each validation server control in the current validation group. If any of these controls do not pass, the property returns false.

  For more information on validation controls, see Validation ASP.NET Controls.

  Gets a collection of all validation controls contained on the requested page.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
- Method
  System.Void ``

  Controls that are required to be inside <form runat=server> tags can call this method before they render so that an error message is shown if they are placed outside the tags. Controls that post back or depend on registered script blocks should call this method in an override of the method. Pages that have a different way of rendering the server form element can override this method to throw an exception under different conditions.

  Server controls that post back or use client-side script will not work if they are not enclosed in the server control (<form runat="server">) tags. These controls can call this method when they render to provide a clear error message when they are not enclosed in the control.

  When you develop a custom server control, it is common to call this method when you override the Render method for any kind of input tag. This is particularly important if the input control calls , or if it emits client script. A composite server control does not need to make this call.

  Confirms that an control is rendered for the specified ASP.NET server control at run time.

  The ASP.NET server control that is required in the control. 1.0.5000.0 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
- Property
  2.0.0.0
  System.Web.UI.ViewStateEncryptionMode To be added.

  The property cannot be set in code. It can only be set in the @ Page directive or in the <pages> element of the configuration file. Values set in the @ Page directive override any values set in the configuration file.

  The syntax for setting this property in the @ Page directive is as follows:

  `<%@ Page Language="VB" ViewStateEncryptionMode="Always" %>` `<%@ Page Language="C#" ViewStateEncryptionMode="Always" %>`

  The syntax for setting this property in the configuration file is as follows:

  `<system.web> <pages viewStateEncryptionMode="Always" /> </system.web>` `<system.web> <pages viewStateEncryptionMode="Always" /> </system.web>`

  Custom control developers may wish to check the value of this property in code before saving potentially sensitive data to view state in their control.

  Gets or sets the encryption mode of the view state.

- Property
  System.ComponentModel.Browsable(false)
  System.String To be added.

  Setting the property can help you prevent attacks on your application from malicious users. It does this by allowing you to assign an identifier to the view-state variable for individual users so that they cannot use the variable to generate an attack. For more information about Web attacks and about what you can do to help prevent them, see Take Advantage of ASP.NET Built-in Features to Fend Off Web Attacks.

  You can set this property to any string value, such as the user's authenticated name or the value.

  You must set this property during the Page_Init phase of page processing. Setting this property during the Page_Load phase throws an exception.

  Assigns an identifier to an individual user in the view-state variable associated with the current page.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean a To be added

  Gets or sets a value indicating whether the object is rendered.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.Browsable(false)