BaseXafPage Members
In This Article
#Constructors
Name | Description |
---|---|
Base |
Initializes a new instance of the Base |
#Fields
Name | Description |
---|---|
Client |
For internal use. |
Current |
|
post |
A string that defines the EVENTARGUMENT hidden field in the rendered page. Inherited from Page. |
post |
A string that defines the EVENTTARGET hidden field in the rendered page. Inherited from Page. |
#Properties
Name | Description |
---|---|
Adapter protected | Gets the browser-specific adapter for the control. Inherited from Control. |
Application |
Gets the Http |
App |
Gets or sets the application-relative virtual directory of the Page or User |
App |
Gets or sets the application-relative, virtual directory path to the file from which the control is parsed and compiled.
Inherited from Template |
Asp |
Sets a value indicating whether the page can be executed on a single-threaded apartment (STA) thread. Inherited from Page. |
Async |
Sets a value indicating whether the page is processed synchronously or asynchronously. Inherited from Page. |
Async |
Gets or sets a value indicating the time-out interval used when processing asynchronous tasks. Inherited from Page. |
Auto |
The Auto |
Auto |
Gets or sets the control in the page that is used to perform postbacks. Inherited from Page. |
Binding |
Gets the control that contains this control’s data binding. Inherited from Control. |
Buffer | Sets a value indicating whether the page output is buffered. Inherited from Page. |
Cache | Gets the Cache object associated with the application in which the page resides. Inherited from Page. |
Callback |
|
Child |
Gets a value that indicates whether the server control’s child controls have been created. Inherited from Control. |
Client |
Gets the control ID for HTML markup that is generated by ASP. |
Client |
Gets or sets the algorithm that is used to generate the value of the Client |
Client |
Gets a character value representing the separator character used in the Client |
Client |
Gets the query string portion of the requested URL. Inherited from Page. |
Client |
Gets a Client |
Client |
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. Inherited from Page. |
Code |
Sets the code page identifier for the current Page. Inherited from Page. |
Content |
Sets the HTTP MIME type for the Http |
Context protected |
Gets the Http |
Controls |
Gets a Control |
Culture | Sets the culture ID for the Thread object associated with the page. Inherited from Page. |
Current |
Specifies the name of theme applied to the Base |
Data |
Gets a reference to the naming container if the naming container implements IData |
Data |
Gets a reference to the naming container if the naming container implements IData |
Default |
Provides access to a Template‘s Action Container that contains the Actions with the Action |
Design |
Gets a value indicating whether a control is being used on a design surface. Inherited from Control. |
Enable |
Gets or sets a value indicating whether the page validates postback and callback events. Inherited from Page. |
Enable |
Gets or sets a Boolean value indicating whether themes apply to the control that is derived from the Template |
Enable |
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. Inherited from Page. |
Enable |
Gets or sets a value indicating whether ASP. |
Error |
Gets or sets the error page to which the requesting browser is redirected in the event of an unhandled page exception. Inherited from Page. |
Events protected | Gets a list of event handler delegates for the control. This property is read-only. Inherited from Control. |
File |
Sets an array of files that the current Http |
Form | Gets the HTML form for the page. Inherited from Page. |
Has |
Gets a value indicating whether the current server control’s child controls have any saved view-state settings. Inherited from Control. |
Header |
Gets the document header for the page if the head element is defined with a runat=server in the page declaration.
Inherited from Page. |
ID | Gets or sets an identifier for a particular instance of the Page class. Inherited from Page. |
Id |
Gets the character used to separate control identifiers when building a unique ID for a control on a page. Inherited from Page. |
Inner |
Gets the control that specifies the Base |
Is |
Gets a value indicating whether the page is processed asynchronously. Inherited from Page. |
Is |
Gets a value that indicates whether the page request is the result of a callback. Inherited from Page. |
Is |
Gets a value indicating whether controls contained within this control have control state. Inherited from Control. |
Is |
Gets a value indicating whether the page is involved in a cross-page postback. Inherited from Page. |
Is |
Gets a value that indicates whether the page is being rendered for the first time or is being loaded in response to a postback. Inherited from Page. |
Is |
Gets a value that indicates whether the control in the page that performs postbacks has been registered. Inherited from Page. |
Is |
Gets a value indicating whether the Page object can be reused. Inherited from Page. |
Is |
Specifies whether the page is sizable. |
Is |
Gets a value that indicates whether the server control is saving changes to its view state. Inherited from Control. |
Is |
Gets a value indicating whether page validation succeeded. Inherited from Page. |
Is |
Gets a value indicating whether view state is enabled for this control. Inherited from Control. |
Items | Gets a list of objects stored in the page context. Inherited from Page. |
LCID | Sets the locale identifier for the Thread object associated with the page. Inherited from Page. |
Load |
Gets a value indicating whether the control participates in loading its view state by ID instead of index. Inherited from Control. |
Maintain |
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 Smart |
Master | Gets the master page that determines the overall look of the page. Inherited from Page. |
Master |
Gets or sets the virtual path of the master page. Inherited from Page. |
Max |
Gets or sets the maximum length for the page’s state field. Inherited from Page. |
Meta |
Gets or sets the content of the “description” meta element.
Inherited from Page. |
Meta |
Gets or sets the content of the “keywords” meta element.
Inherited from Page. |
Model |
Gets the model binding execution context. Inherited from Page. |
Model |
Gets the model state dictionary object that contains the state of the model and of model-binding validation. Inherited from Page. |
Naming |
Gets a reference to the server control’s naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. Inherited from Control. |
Page | Gets a reference to the Page instance that contains the server control. Inherited from Control. |
Page |
Gets the adapter that renders the page for the specific requesting browser. Inherited from Page. |
Page |
Gets the Page |
Parent | Gets a reference to the server control’s parent control in the page control hierarchy. Inherited from Control. |
Previous |
Gets the page that transferred control to the current page. Inherited from Page. |
Rendering |
Gets a value that specifies the ASP. |
Request |
Gets the Http |
Response |
Gets the Http |
Response |
Sets the encoding language for the current Http |
Route |
Gets the Route |
Security |
|
Server |
Gets the Server object, which is an instance of the Http |
Session |
Gets the current Session object provided by ASP. |
Settings | For internal use. |
Site | Gets information about the container that hosts the current control when rendered on a design surface. Inherited from Control. |
Skin |
Gets or sets the skin to apply to the control. Inherited from Control. |
Skip |
Gets or sets a value that indicates whether the query string value is validated. Inherited from Page. |
Smart |
Gets or sets a value indicating whether smart navigation is enabled. This property is deprecated. Inherited from Page. |
Style |
Gets or sets the name of the theme that is applied to the page early in the page life cycle. Inherited from Page. |
Support |
Gets a value indicating whether the Template |
IControl |
For a description of this member, see Control |
IControl |
For a description of this member, see User |
IData |
For a description of this member, see Data |
IData |
For a description of this member, see Has |
IExpressions |
For a description of this member, see Expressions. Inherited from Control. |
IExpressions |
For a description of this member, see Has |
Template |
Gets a User Control that specifies the Base |
Template |
Gets or sets a reference to the template that contains this control. Inherited from Control. |
Template |
Gets the virtual directory of the Page or User |
Theme | Gets or sets the name of the page theme. Inherited from Page. |
Title | Gets or sets the title for the page. Inherited from Page. |
Trace |
Gets the Trace |
Trace |
Sets a value indicating whether tracing is enabled for the Page object. Inherited from Page. |
Trace |
Sets the mode in which trace statements are displayed on the page. Inherited from Page. |
Transaction |
Sets the level of transaction support for the page. Inherited from Page. |
UICulture | Sets the user interface (UI) ID for the Thread object associated with the page. Inherited from Page. |
Unique |
Gets a unique suffix to append to the file path for caching browsers. Inherited from Page. |
Unique |
Gets the unique, hierarchically qualified identifier for the server control. Inherited from Control. |
Unobtrusive |
Gets or sets a value that indicates whether unobtrusive Java |
User | Gets information about the user making the page request. Inherited from Page. |
Validate |
Gets or sets a value that indicates whether the page checks client input from the browser for potentially dangerous values. Inherited from Page. |
Validators | Gets a collection of all validation controls contained on the requested page. Inherited from Page. |
View |
Provides access to a Base |
View |
|
View |
Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. Inherited from Control. |
View |
Gets or sets the encryption mode of the view state. Inherited from Page. |
View |
Gets a value that indicates whether the State |
View |
Gets or sets the view-state mode of this control. Inherited from Control. |
View |
Assigns an identifier to an individual user in the view-state variable associated with the current page. Inherited from Page. |
Visible | Gets or sets a value indicating whether the Page object is rendered. Inherited from Page. |
Xaf |
#Methods
Name | Description |
---|---|
Add |
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. Inherited from Page. |
Added |
Called after a child control is added to the Controls collection of the Control object. Inherited from Control. |
Add |
Registers beginning and ending event handler delegates for an asynchronous page. Inherited from Page. |
Add |
Registers beginning and ending event handler delegates that do not require state information for an asynchronous page. Inherited from Page. |
Add |
Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control’s Control |
Add |
Adds a list of dependent files that make up the current page. This method is used internally by the ASP. |
Apply |
Applies the style properties defined in the page style sheet to the control. Inherited from Control. |
Asp |
Initiates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications. Inherited from Page. |
Asp |
Terminates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications. Inherited from Page. |
Async |
Begins processing an asynchronous page request. Inherited from Page. |
Async |
Ends processing an asynchronous page request. Inherited from Page. |
Begin |
Begins design-time tracing of rendering data. Inherited from Control. |
Begin |
Prevents the Base |
Build |
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. |
Clear |
Sets the cached Clientnull .
Inherited from Control. |
Clear |
Deletes the control-state information for the server control’s child controls. Inherited from Control. |
Clear |
Deletes the view-state and control-state information for all the server control’s child controls. Inherited from Control. |
Clear |
Deletes the view-state information for all the server control’s child controls. Inherited from Control. |
Clear |
Sets the Client |
Construct() protected |
Performs design-time logic.
Inherited from Template |
Create |
Called by the ASP. |
Create |
Creates a new Control |
Create |
Creates an Html |
Create |
Creates a specified Html |
Create |
Accesses literal strings stored in a resource. The Create |
Data |
Binds a data source to the invoked server control and all its child controls. Inherited from Control. |
Data |
Binds a data source to the invoked server control and all its child controls with an option to raise the Data |
Data |
Binds a data source to the server control’s child controls. Inherited from Control. |
Designer |
Performs any initialization of the instance of the Page class that is required by RAD designers. This method is used only at design time. Inherited from Page. |
Determine |
Returns a Name |
Determine |
Returns a name-value collection of data that was posted to the page using either a POST or a GET command, without performing ASP. |
Dispose() |
Disposes the Base |
End |
Ends design-time tracing of rendering data. Inherited from Control. |
End |
|
Ensure |
Determines whether the server control contains child controls. If it does not, it creates child controls. Inherited from Control. |
Ensure |
Creates an identifier for controls that do not have an identifier assigned. Inherited from Control. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Execute |
Starts the execution of an asynchronous task. Inherited from Page. |
Find |
Searches the current naming container for a server control with the specified id and an integer, specified in the path parameter, which aids in the search. You should not override this version of the Find |
Find |
Searches the page naming container for a server control with the specified identifier. Inherited from Page. |
Focus() | Sets input focus to a control. Inherited from Control. |
Framework |
Initializes the control tree during page generation based on the declarative nature of the page. Inherited from Page. |
Get |
Provides access to a Template‘s Action Containers in an ASP. |
Get |
Gets the data item at the top of the data-binding context stack. Inherited from Page. |
Get |
Gets design-time data for a control. Inherited from Control. |
Get |
Gets an application-level resource object based on the specified Class |
Get |
Gets an application-level resource object based on the specified Class |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets a page-level resource object based on the specified Resource |
Get |
Gets a page-level resource object based on the specified Resource |
Get |
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. Inherited from Page. |
Get |
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.
Inherited from Page. |
Get |
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. Inherited from Page. |
Get |
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 object. Inherited from Page. |
Get |
Gets the URL that corresponds to a set of route parameters. Inherited from Control. |
Get |
Gets the URL that corresponds to a set of route parameters and a route name. Inherited from Control. |
Get |
Gets the URL that corresponds to a set of route parameters and a route name. Inherited from Control. |
Get |
Gets the URL that corresponds to a set of route parameters. Inherited from Control. |
Get |
|
Get |
|
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
Retrieves a hash code that is generated by Page objects that are generated at run time. This hash code is unique to the Page object’s control hierarchy. Inherited from Page. |
Get |
Returns the prefixed portion of the Unique |
Get |
|
Get |
Returns a collection of control validators for a specified validation group. Inherited from Page. |
Get |
Returns a list of physical file names that correspond to a list of virtual file locations. Inherited from Page. |
Has |
Determines if the server control contains any child controls. Inherited from Control. |
Has |
Returns a value indicating whether events are registered for the control or any child controls. Inherited from Control. |
Init |
Initializes the output cache for the current page request. Inherited from Page. |
Init |
Initializes the output cache for the current page request. Inherited from Page. |
Init |
Initializes the output cache for the current page request based on an Output |
Is |
Determines whether the client script block with the specified key is registered with the page. Inherited from Page. |
Is |
Determines if the server control holds only literal content. Inherited from Control. |
Is |
Determines whether the client startup script is registered with the Page object. Inherited from Page. |
Load |
Loads a Control object from a file based on a specified virtual path.
Inherited from Template |
Load |
Loads a Control object based on a specified type and constructor parameters.
Inherited from Template |
Load |
Restores control-state information from a previous page request that was saved by the Save |
Load |
Loads any saved view-state information to the Page object. Inherited from Page. |
Load |
Obtains an instance of the ITemplate interface from an external file.
Inherited from Template |
Load |
Restores view-state information from a previous page request that was saved by the Save |
Map |
Retrieves the physical path that a virtual path, either absolute or relative, or an application-relative path maps to. Inherited from Page. |
Map |
Retrieves the physical path that a virtual path, either absolute or relative, maps to. Inherited from Control. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
On |
Raises the Abort |
On |
Determines whether the event for the server control is passed up the page’s UI server control hierarchy. Inherited from Control. |
On |
Raises the Commit |
On |
Raises the Data |
On |
Raises the Error event.
Inherited from Template |
On |
Raises the Init |
On |
Raises the Load event. Inherited from Control. |
On |
Raises the Pre |
On |
Raises the Pre |
On |
Raises the Pre |
On |
Raises the Save |
On |
Raises the Unload event. Inherited from Control. |
Open |
Gets a Stream used to read a file. Inherited from Control. |
Parse |
Parses an input string into a Control object on the ASP. |
Parse |
Parses an input string into a Control object on the Web Forms page or user control.
Inherited from Template |
Process |
Sets the intrinsic server objects of the Page object, such as the Context, Request, Response, and Application properties. Inherited from Page. |
Raise |
Assigns any sources of the event and its information to the control’s parent. Inherited from Control. |
Raise |
Notifies the server control that caused the postback that it should handle an incoming postback event. Inherited from Page. |
Read |
Reads a string resource. The Read |
Read |
Reads a string resource. The Read |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Register |
|
Register |
|
Register |
Declares a value that is declared as an ECMAScript array declaration when the page is rendered. Inherited from Page. |
Register |
Registers a new asynchronous task with the page. Inherited from Page. |
Register |
Emits client-side script blocks to the response. Inherited from Page. |
Register |
Allows server controls to automatically register a hidden field on the form. The field will be sent to the Page object when the Html |
Register |
Allows a page to access the client On event. The script should be a function call to client code registered elsewhere.
Inherited from Page. |
Register |
|
Register |
Registers a control as one whose control state must be persisted. Inherited from Page. |
Register |
Registers a control as one that requires postback handling when the page is posted back to the server. Inherited from Page. |
Register |
Registers an ASP. |
Register |
Registers a control with the page as one requiring view-state encryption. Inherited from Page. |
Register |
Emits a client-side script block in the page response. Inherited from Page. |
Register |
|
Register |
Causes page view state to be persisted, if called. Inherited from Page. |
Removed |
Called after a child control is removed from the Controls collection of the Control object. Inherited from Control. |
Render |
Initializes the Html |
Render |
Outputs the content of a server control’s children to a provided Html |
Render |
Outputs server control content to a provided Html |
Render |
Outputs server control content to a provided Html |
Requires |
Determines whether the specified Control object is registered to participate in control state management. Inherited from Page. |
Resolve |
Gets the control adapter responsible for rendering the specified control. Inherited from Control. |
Resolve |
Gets a URL that can be used by the browser. Inherited from Control. |
Resolve |
Converts a URL into one that is usable on the requesting client. Inherited from Control. |
Save |
Saves any server control state changes that have occurred since the time the page was posted back to the server. Inherited from Control. |
Save |
Saves any view-state and control-state information for the page. Inherited from Page. |
Save |
Saves any server control view-state changes that have occurred since the time the page was posted back to the server. Inherited from Control. |
Set |
|
Set |
Sets design-time data for a control. Inherited from Control. |
Set |
Sets the browser focus to the control with the specified identifier. Inherited from Page. |
Set |
Sets the browser focus to the specified control. Inherited from Page. |
Set |
Assigns an event handler delegate to render the server control and its content into its parent control. Inherited from Control. |
Set |
|
Set |
Sets a pointer to a string resource. The Set |
Set |
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. |
Set |
Sets trace data for design-time tracing of rendering data, using the trace data key and the trace data value. Inherited from Control. |
Setup |
|
Set |
Adds the View. |
IControl |
For a description of this member, see Get |
IControl |
For a description of this member, see Set |
IControl |
For a description of this member, see Set |
IFilter |
Returns a value that indicates whether a parent/child relationship exists between two specified device filters.
Inherited from Template |
IFilter |
Returns a value that indicates whether the specified filter is a type of the current filter object.
Inherited from Template |
IParser |
For a description of this member, see Add |
Test |
Returns a Boolean value indicating whether a device filter applies to the HTTP request.
Inherited from Template |
To |
Returns a string that represents the current object. Inherited from Object. |
Track |
Causes tracking of view-state changes to the server control so they can be stored in the server control’s State |
Try |
Updates the model instance using values from the specified value provider. Inherited from Page. |
Try |
Updates the specified model instance using values from the data-bound control. Inherited from Page. |
Unregister |
|
Unregister |
|
Unregister |
Stops persistence of control state for the specified control. Inherited from Page. |
Update |
Updates the specified model instance using values from a specified value provider. Inherited from Page. |
Update |
Updates the specified model instance using values from the data-bound control. Inherited from Page. |
Validate() | Instructs any validation controls included on the page to validate their assigned information. Inherited from Page. |
Validate |
Instructs the validation controls in the specified validation group to validate their assigned information. Inherited from Page. |
Verify |
Confirms that an Html |
Write |
Writes a resource string to an Html |
XPath |
Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution and the specified format string to display the result.
Inherited from Template |
XPath |
Evaluates an XPath data-binding expression using the specified format string to display the result.
Inherited from Template |
XPath |
Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution.
Inherited from Template |
XPath |
Evaluates an XPath data-binding expression.
Inherited from Template |
XPath |
Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution and returns a node collection that implements the IEnumerable interface.
Inherited from Template |
XPath |
Evaluates an XPath data-binding expression and returns a node collection that implements the IEnumerable interface.
Inherited from Template |
#Events
Name | Description |
---|---|
Abort |
Occurs when a user ends a transaction.
Inherited from Template |
Action |
|
Commit |
Occurs when a transaction completes.
Inherited from Template |
Customize |
Occurs when the template content is created. |
Data |
Occurs when the server control binds to a data source. Inherited from Control. |
Disposed |
Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP. |
Error |
Occurs when an unhandled exception is thrown.
Inherited from Template |
Init | Occurs when the server control is initialized, which is the first step in its lifecycle. Inherited from Control. |
Init |
Occurs when page initialization is complete. Inherited from Page. |
Load | Occurs when the server control is loaded into the Page object. Inherited from Control. |
Load |
Occurs at the end of the load stage of the page’s life cycle. Inherited from Page. |
Pre |
Occurs before page initialization. Inherited from Page. |
Pre |
Occurs before the page Load event. Inherited from Page. |
Pre |
Occurs after the Control object is loaded but prior to rendering. Inherited from Control. |
Pre |
Occurs before the page content is rendered. Inherited from Page. |
Save |
Occurs after the page has completed saving all view state and control state information for the page and controls on the page. Inherited from Page. |
Unload | Occurs when the server control is unloaded from memory. Inherited from Control. |
View |
See Also