Skip to main content

DplxWebForm

Version: 9.0

cete.dynamicpdf.reportwriter.dplxwebform

DplxWebForm​

Represents an .aspx file that has a corresponding DPLX with the same name used in Web application.

public class DplxWebForm : Page, IComponent, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IDisposable, IExpressionsAccessor, IFilterResolutionService, IHttpHandler, INamingContainer, IParserAccessor, IUrlResolutionService
Public Class DplxWebForm
Inherits Page
Implements IComponent, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IDisposable, IExpressionsAccessor, IFilterResolutionService, IHttpHandler, INamingContainer, IParserAccessor, IUrlResolutionService

Inheritance: Object → Control → TemplateControl → Page → DplxWebForm

Implements: IComponent, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IDisposable, IExpressionsAccessor, IFilterResolutionService, IHttpHandler, INamingContainer, IParserAccessor, IUrlResolutionService

Constructors​

DplxWebForm()​

Initializes a new instance of the DplxWebForm class.

public DplxWebForm()
Public Sub New ()

Properties​

Application​

Gets the HttpApplicationState object for the current Web request. (Inherited from Page)

public HttpApplicationState Application { get; }
Public Property Application As HttpApplicationState

Property Value​

HttpApplicationState

AppRelativeTemplateSourceDirectory​

Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from Control)

public string AppRelativeTemplateSourceDirectory { get; set; }
Public Property AppRelativeTemplateSourceDirectory As String

Property Value​

String

AppRelativeVirtualPath​

Gets or sets the application-relative, virtual directory path to the file from which the control is parsed and compiled. (Inherited from TemplateControl)

public string AppRelativeVirtualPath { get; set; }
Public Property AppRelativeVirtualPath As String

Property Value​

String

Exceptions​

The path that is set is .

The path that is set is not rooted.

AsyncTimeout​

Gets or sets a value indicating the time-out interval used when processing asynchronous tasks. (Inherited from Page)

public TimeSpan AsyncTimeout { get; set; }
Public Property AsyncTimeout As TimeSpan

Property Value​

TimeSpan

Exceptions​

The property was set to a negative value.

AutoPostBackControl​

Gets or sets the control in the page that is used to perform postbacks. (Inherited from Page)

public Control AutoPostBackControl { get; set; }
Public Property AutoPostBackControl As Control

Property Value​

Control

Cache​

Gets the Cache object associated with the application in which the page resides. (Inherited from Page)

public Cache Cache { get; }
Public Property Cache As Cache

Property Value​

Cache

Exceptions​

An instance of Cache is not created.

ClientID​

Gets the control ID for HTML markup that is generated by ASP.NET. (Inherited from Control)

public string ClientID { get; }
Public Property ClientID As String

Property Value​

String

ClientIDMode​

Gets or sets the algorithm that is used to generate the value of the ClientID property. (Inherited from Control)

public ClientIDMode ClientIDMode { get; set; }
Public Property ClientIDMode As ClientIDMode

Property Value​

ClientIDMode

ClientQueryString​

Gets the query string portion of the requested URL. (Inherited from Page)

public string ClientQueryString { get; }
Public Property ClientQueryString As String

Property Value​

String

ClientScript​

Gets a ClientScriptManager object used to manage, register, and add script to the page. (Inherited from Page)

public ClientScriptManager ClientScript { get; }
Public Property ClientScript As ClientScriptManager

Property Value​

ClientScriptManager

ClientTarget​

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)

public string ClientTarget { get; set; }
Public Property ClientTarget As String

Property Value​

String

Controls​

Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from Control)

public ControlCollection Controls { get; }
Public Property Controls As ControlCollection

Property Value​

ControlCollection

Culture​

Sets the culture ID for the Thread object associated with the page. (Inherited from Page)

public string Culture { get; set; }
Public Property Culture As String

Property Value​

String

EnableTheming​

Gets or sets a Boolean value indicating whether themes apply to the control that is derived from the TemplateControl class. (Inherited from TemplateControl)

public bool EnableTheming { get; set; }
Public Property EnableTheming As Boolean

Property Value​

Boolean

EnableViewState​

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)

public bool EnableViewState { get; set; }
Public Property EnableViewState As Boolean

Property Value​

Boolean

ErrorPage​

Gets or sets the error page to which the requesting browser is redirected in the event of an unhandled page exception. (Inherited from Page)

public string ErrorPage { get; set; }
Public Property ErrorPage As String

Property Value​

String

Form​

Gets the HTML form for the page. (Inherited from Page)

public HtmlForm Form { get; }
Public Property Form As HtmlForm

Property Value​

HtmlForm

Gets the document header for the page if the element is defined with a in the page declaration. (Inherited from Page)

public HtmlHead Header { get; }
Public Property Header As HtmlHead

Property Value​

HtmlHead

IsAsync​

Gets a value indicating whether the page is processed asynchronously. (Inherited from Page)

public bool IsAsync { get; }
Public Property IsAsync As Boolean

Property Value​

Boolean

IsCallback​

Gets a value that indicates whether the page request is the result of a callback. (Inherited from Page)

public bool IsCallback { get; }
Public Property IsCallback As Boolean

Property Value​

Boolean

IsCrossPagePostBack​

Gets a value indicating whether the page is involved in a cross-page postback. (Inherited from Page)

public bool IsCrossPagePostBack { get; }
Public Property IsCrossPagePostBack As Boolean

Property Value​

Boolean

IsPostBack​

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)

public bool IsPostBack { get; }
Public Property IsPostBack As Boolean

Property Value​

Boolean

IsPostBackEventControlRegistered​

Gets a value that indicates whether the control in the page that performs postbacks has been registered. (Inherited from Page)

public bool IsPostBackEventControlRegistered { get; }
Public Property IsPostBackEventControlRegistered As Boolean

Property Value​

Boolean

IsValid​

Gets a value indicating whether page validation succeeded. (Inherited from Page)

public bool IsValid { get; }
Public Property IsValid As Boolean

Property Value​

Boolean

Exceptions​

The IsValid property is called before validation has occurred.

Items​

Gets a list of objects stored in the page context. (Inherited from Page)

public IDictionary Items { get; }
Public Property Items As IDictionary

Property Value​

IDictionary

MaintainScrollPositionOnPostBack​

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 SmartNavigation property. (Inherited from Page)

public bool MaintainScrollPositionOnPostBack { get; set; }
Public Property MaintainScrollPositionOnPostBack As Boolean

Property Value​

Boolean

Master​

Gets the master page that determines the overall look of the page. (Inherited from Page)

public MasterPage Master { get; }
Public Property Master As MasterPage

Property Value​

MasterPage

MasterPageFile​

Gets or sets the virtual path of the master page. (Inherited from Page)

public string MasterPageFile { get; set; }
Public Property MasterPageFile As String

Property Value​

String

Exceptions​

The MasterPageFile property is set after the PreInit event is complete.

The file specified in the MasterPageFile property does not exist.- or -The page does not have a Content control as the top level control.

MetaDescription​

Gets or sets the content of the "description" element. (Inherited from Page)

public string MetaDescription { get; set; }
Public Property MetaDescription As String

Property Value​

String

Exceptions​

The page does not have a header control (a element with the attribute set to "server").

MetaKeywords​

Gets or sets the content of the "keywords" element. (Inherited from Page)

public string MetaKeywords { get; set; }
Public Property MetaKeywords As String

Property Value​

String

Exceptions​

The page does not have a header control (a element with the attribute set to "server").

ModelBindingExecutionContext​

Gets the model binding execution context. (Inherited from Page)

public ModelBindingExecutionContext ModelBindingExecutionContext { get; }
Public Property ModelBindingExecutionContext As ModelBindingExecutionContext

Property Value​

ModelBindingExecutionContext

ModelState​

Gets the model state dictionary object that contains the state of the model and of model-binding validation. (Inherited from Page)

public ModelStateDictionary ModelState { get; }
Public Property ModelState As ModelStateDictionary

Property Value​

ModelStateDictionary

NamingContainer​

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)

public Control NamingContainer { get; }
Public Property NamingContainer As Control

Property Value​

Control

Page​

Gets a reference to the Page instance that contains the server control. (Inherited from Control)

public Page Page { get; set; }
Public Property Page As Page

Property Value​

Page

Exceptions​

The control is a Substitution control.

PageAdapter​

Gets the adapter that renders the page for the specific requesting browser. (Inherited from Page)

public PageAdapter PageAdapter { get; }
Public Property PageAdapter As PageAdapter

Property Value​

PageAdapter

Parent​

Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from Control)

public Control Parent { get; }
Public Property Parent As Control

Property Value​

Control

PreviousPage​

Gets the page that transferred control to the current page. (Inherited from Page)

public Page PreviousPage { get; }
Public Property PreviousPage As Page

Property Value​

Page

Exceptions​

The current user is not allowed to access the previous page.-or-ASP.NET routing is in use and the previous page's URL is a routed URL. When ASP.NET checks access permissions, it assumes that the URL is an actual path to a file. Because this is not the case with a routed URL, the check fails.

RenderingCompatibility​

Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from Control)

public Version RenderingCompatibility { get; set; }
Public Property RenderingCompatibility As Version

Property Value​

Version

Request​

Gets the HttpRequest object for the requested page. (Inherited from Page)

public HttpRequest Request { get; }
Public Property Request As HttpRequest

Property Value​

HttpRequest

Exceptions​

Occurs when the HttpRequest object is not available.

Response​

Gets the HttpResponse object associated with the Page object. This object allows you to send HTTP response data to a client and contains information about that response. (Inherited from Page)

public HttpResponse Response { get; }
Public Property Response As HttpResponse

Property Value​

HttpResponse

Exceptions​

The HttpResponse object is not available.

RouteData​

Gets the RouteData value of the current RequestContext instance. (Inherited from Page)

public RouteData RouteData { get; }
Public Property RouteData As RouteData

Property Value​

RouteData

Server​

Gets the object, which is an instance of the HttpServerUtility class. (Inherited from Page)

public HttpServerUtility Server { get; }
Public Property Server As HttpServerUtility

Property Value​

HttpServerUtility

Session​

Gets the current object provided by ASP.NET. (Inherited from Page)

public HttpSessionState Session { get; }
Public Property Session As HttpSessionState

Property Value​

HttpSessionState

Exceptions​

Occurs when the session information is set to .

Site​

Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from Control)

public ISite Site { get; set; }
Public Property Site As ISite

Property Value​

ISite

Exceptions​

The control is a Substitution control.

SkinID​

Gets or sets the skin to apply to the control. (Inherited from Control)

public string SkinID { get; set; }
Public Property SkinID As String

Property Value​

String

Exceptions​

The style sheet has already been applied.- or -The event has already occurred.- or -The control was already added to the collection.

SmartNavigation​

Gets or sets a value indicating whether smart navigation is enabled. This property is deprecated. (Inherited from Page)

public bool SmartNavigation { get; set; }
Public Property SmartNavigation As Boolean

Property Value​

Boolean

StyleSheetTheme​

Gets or sets the name of the theme that is applied to the page early in the page life cycle. (Inherited from Page)

public string StyleSheetTheme { get; set; }
Public Property StyleSheetTheme As String

Property Value​

String

Exceptions​

An attempt was made to set the StyleSheetTheme property after the FrameworkInitialize method was called.

StyleSheetTheme is set to an invalid theme name. This exception is thrown when the FrameworkInitialize method is called, not by the property setter.

TemplateControl​

Gets or sets a reference to the template that contains this control. (Inherited from Control)

public TemplateControl TemplateControl { get; set; }
Public Property TemplateControl As TemplateControl

Property Value​

TemplateControl

TemplateSourceDirectory​

Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from Control)

public string TemplateSourceDirectory { get; }
Public Property TemplateSourceDirectory As String

Property Value​

String

Theme​

Gets or sets the name of the page theme. (Inherited from Page)

public string Theme { get; set; }
Public Property Theme As String

Property Value​

String

Exceptions​

An attempt was made to set Theme after the PreInit event has occurred.

Theme is set to an invalid theme name.

Title​

Gets or sets the title for the page. (Inherited from Page)

public string Title { get; set; }
Public Property Title As String

Property Value​

String

Exceptions​

The Title property requires a header control on the page.

Trace​

Gets the TraceContext object for the current Web request. (Inherited from Page)

public TraceContext Trace { get; }
Public Property Trace As TraceContext

Property Value​

TraceContext

UICulture​

Sets the user interface (UI) ID for the Thread object associated with the page. (Inherited from Page)

public string UICulture { get; set; }
Public Property UICulture As String

Property Value​

String

UniqueID​

Gets the unique, hierarchically qualified identifier for the server control. (Inherited from Control)

public string UniqueID { get; }
Public Property UniqueID As String

Property Value​

String

UnobtrusiveValidationMode​

Gets or sets a value that indicates whether unobtrusive JavaScript is used for client-side validation. (Inherited from Page)

public UnobtrusiveValidationMode UnobtrusiveValidationMode { get; set; }
Public Property UnobtrusiveValidationMode As UnobtrusiveValidationMode

Property Value​

UnobtrusiveValidationMode

User​

Gets information about the user making the page request. (Inherited from Page)

public IPrincipal User { get; }
Public Property User As IPrincipal

Property Value​

IPrincipal

Validators​

Gets a collection of all validation controls contained on the requested page. (Inherited from Page)

public ValidatorCollection Validators { get; }
Public Property Validators As ValidatorCollection

Property Value​

ValidatorCollection

ViewStateMode​

Gets or sets the view-state mode of this control. (Inherited from Control)

public ViewStateMode ViewStateMode { get; set; }
Public Property ViewStateMode As ViewStateMode

Property Value​

ViewStateMode

Exceptions​

An attempt was made to set this property to a value that is not in the ViewStateMode enumeration.

ViewStateUserKey​

Assigns an identifier to an individual user in the view-state variable associated with the current page. (Inherited from Page)

public string ViewStateUserKey { get; set; }
Public Property ViewStateUserKey As String

Property Value​

String

Exceptions​

The ViewStateUserKey property was accessed too late during page processing.

Visible​

Gets or sets a value indicating whether the Page object is rendered. (Inherited from Page)

public bool Visible { get; set; }
Public Property Visible As Boolean

Property Value​

Boolean

Methods​

AddOnPreRenderCompleteAsync(BeginEventHandler, EndEventHandler)​

Registers beginning and ending event handler delegates that do not require state information for an asynchronous page. (Inherited from Page)

public void AddOnPreRenderCompleteAsync(BeginEventHandler beginHandler, EndEventHandler endHandler)
Sub AddOnPreRenderCompleteAsync(beginHandler As BeginEventHandler, endHandler As EndEventHandler)

Parameters​

The delegate for the BeginEventHandler method.

The delegate for the EndEventHandler method.

Exceptions​

The page directive is not set to .- or -The AddOnPreRenderCompleteAsync(System.Web.BeginEventHandler,System.Web.EndEventHandler) method is called after the PreRender event.

The BeginHandler or EndHandler is .

AddOnPreRenderCompleteAsync(BeginEventHandler, EndEventHandler, Object)​

Registers beginning and ending event handler delegates for an asynchronous page. (Inherited from Page)

public void AddOnPreRenderCompleteAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state)
Sub AddOnPreRenderCompleteAsync(beginHandler As BeginEventHandler, endHandler As EndEventHandler, state As Object)

Parameters​

The delegate for the BeginEventHandler method.

The delegate for the EndEventHandler method.

An object containing state information for the event handlers.

Exceptions​

The page directive is not set to .- or -The AddOnPreRenderCompleteAsync(System.Web.BeginEventHandler,System.Web.EndEventHandler) method is called after the PreRender event.

The BeginHandler or EndHandler is .

ApplyStyleSheetSkin(Page)​

Applies the style properties defined in the page style sheet to the control. (Inherited from Control)

public void ApplyStyleSheetSkin(Page page)
Sub ApplyStyleSheetSkin(page As Page)

Parameters​

The Page containing the control.

Exceptions​

The style sheet is already applied.

DataBind()​

Binds a data source to the invoked server control and all its child controls. (Inherited from Control)

public void DataBind()
Sub DataBind()

Dispose()​

Enables a server control to perform final clean up before it is released from memory. (Inherited from Control)

public void Dispose()
Sub Dispose()

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

ExecuteRegisteredAsyncTasks()​

Starts the execution of an asynchronous task. (Inherited from Page)

public void ExecuteRegisteredAsyncTasks()
Sub ExecuteRegisteredAsyncTasks()

Exceptions​

There is an exception in the asynchronous task.

FindControl(String)​

Searches the page naming container for a server control with the specified identifier. (Inherited from Page)

public Control FindControl(string id)
Function FindControl(id As String) As Control

Parameters​

The identifier for the control to be found.

Returns​

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

Focus()​

Sets input focus to a control. (Inherited from Control)

public void Focus()
Sub Focus()

GetDataItem()​

Gets the data item at the top of the data-binding context stack. (Inherited from Page)

public Object GetDataItem()
Function GetDataItem() As Object

Returns​

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

Exceptions​

There is no data-binding context for the page.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetPostBackClientEvent(Control, String)​

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)

public string GetPostBackClientEvent(Control control, string argument)
Function GetPostBackClientEvent(control As Control, argument As String) As String

Parameters​

The server control that receives the client event postback.

A String that is passed to RaisePostBackEvent(System.String) .

Returns​

The string that represents the client event.

GetPostBackClientHyperlink(Control, String)​

Gets a reference, with 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)

public string GetPostBackClientHyperlink(Control control, string argument)
Function GetPostBackClientHyperlink(control As Control, argument As String) As String

Parameters​

The server control to process the postback.

The parameter passed to the server control.

Returns​

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

GetPostBackEventReference(Control)​

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)

public string GetPostBackEventReference(Control control)
Function GetPostBackEventReference(control As Control) As String

Parameters​

The server control to process the postback on the server.

Returns​

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

GetPostBackEventReference(Control, String)​

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)

public string GetPostBackEventReference(Control control, string argument)
Function GetPostBackEventReference(control As Control, argument As String) As String

Parameters​

The server control to process the postback.

The parameter passed to the server control.

Returns​

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

GetRouteUrl(Object)​

Gets the URL that corresponds to a set of route parameters. (Inherited from Control)

public string GetRouteUrl(Object routeParameters)
Function GetRouteUrl(routeParameters As Object) As String

Parameters​

The route parameters.

Returns​

The URL that corresponds to the specified route parameters.

GetRouteUrl(RouteValueDictionary)​

Gets the URL that corresponds to a set of route parameters. (Inherited from Control)

public string GetRouteUrl(RouteValueDictionary routeParameters)
Function GetRouteUrl(routeParameters As RouteValueDictionary) As String

Parameters​

The route parameters.

Returns​

The URL that corresponds to the specified route parameters.

GetRouteUrl(String, Object)​

Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control)

public string GetRouteUrl(string routeName, Object routeParameters)
Function GetRouteUrl(routeName As String, routeParameters As Object) As String

Parameters​

The name of the route.

The route parameters.

Returns​

The URL that corresponds to the specified route parameters and route name.

GetRouteUrl(String, RouteValueDictionary)​

Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control)

public string GetRouteUrl(string routeName, RouteValueDictionary routeParameters)
Function GetRouteUrl(routeName As String, routeParameters As RouteValueDictionary) As String

Parameters​

The name of the route.

The route parameters.

Returns​

The URL that corresponds to the specified route parameters and route name.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

GetUniqueIDRelativeTo(Control)​

Returns the prefixed portion of the UniqueID property of the specified control. (Inherited from Control)

public string GetUniqueIDRelativeTo(Control control)
Function GetUniqueIDRelativeTo(control As Control) As String

Parameters​

A control that is within a naming container.

Returns​

The prefixed portion of the UniqueID property of the specified control.

Exceptions​

The NamingContainer property of is .

is .

GetValidators(String)​

Returns a collection of control validators for a specified validation group. (Inherited from Page)

public ValidatorCollection GetValidators(string validationGroup)
Function GetValidators(validationGroup As String) As ValidatorCollection

Parameters​

The validation group to return, or to return the default validation group.

Returns​

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

HasControls()​

Determines if the server control contains any child controls. (Inherited from Control)

public bool HasControls()
Function HasControls() As Boolean

Returns​

if the control contains other controls; otherwise, .

IsClientScriptBlockRegistered(String)​

Determines whether the client script block with the specified key is registered with the page. (Inherited from Page)

public bool IsClientScriptBlockRegistered(string key)
Function IsClientScriptBlockRegistered(key As String) As Boolean

Parameters​

The string key of the client script to search for.

Returns​

if the script block is registered; otherwise, .

IsStartupScriptRegistered(String)​

Determines whether the client startup script is registered with the Page object. (Inherited from Page)

public bool IsStartupScriptRegistered(string key)
Function IsStartupScriptRegistered(key As String) As Boolean

Parameters​

The string key of the startup script to search for.

Returns​

if the startup script is registered; otherwise, .

LoadControl(String)​

Loads a Control object from a file based on a specified virtual path. (Inherited from TemplateControl)

public Control LoadControl(string virtualPath)
Function LoadControl(virtualPath As String) As Control

Parameters​

The virtual path to a control file.

Returns​

Returns the specified Control .

Exceptions​

The virtual path is or empty.

LoadControl(Type, Object[])​

Loads a Control object based on a specified type and constructor parameters. (Inherited from TemplateControl)

public Control LoadControl(Type t, Object[] parameters)
Function LoadControl(t As Type, parameters As Object[]) As Control

Parameters​

The type of the control.

An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the default constructor) is invoked.

Returns​

Returns the specified UserControl .

LoadTemplate(String)​

Obtains an instance of the ITemplate interface from an external file. (Inherited from TemplateControl)

public ITemplate LoadTemplate(string virtualPath)
Function LoadTemplate(virtualPath As String) As ITemplate

Parameters​

The virtual path to a user control file.

Returns​

An instance of the specified template.

MapPath(String)​

Retrieves the physical path that a virtual path, either absolute or relative, or an application-relative path maps to. (Inherited from Page)

public string MapPath(string virtualPath)
Function MapPath(virtualPath As String) As String

Parameters​

A String that represents the virtual path.

Returns​

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

ParseControl(String)​

Parses an input string into a Control object on the Web Forms page or user control. (Inherited from TemplateControl)

public Control ParseControl(string content)
Function ParseControl(content As String) As Control

Parameters​

A string that contains a user control.

Returns​

The parsed Control .

ParseControl(String, Boolean)​

Parses an input string into a Control object on the ASP.NET Web page or user control. (Inherited from TemplateControl)

public Control ParseControl(string content, bool ignoreParserFilter)
Function ParseControl(content As String, ignoreParserFilter As Boolean) As Control

Parameters​

A string that contains a user control.

A value that specifies whether to ignore the parser filter.

Returns​

The parsed control.

RegisterArrayDeclaration(String, String)​

Declares a value that is declared as an ECMAScript array declaration when the page is rendered. (Inherited from Page)

public void RegisterArrayDeclaration(string arrayName, string arrayValue)
Sub RegisterArrayDeclaration(arrayName As String, arrayValue As String)

Parameters​

The name of the array in which to declare the value.

The value to place in the array.

RegisterAsyncTask(PageAsyncTask)​

Registers a new asynchronous task with the page. (Inherited from Page)

public void RegisterAsyncTask(PageAsyncTask task)
Sub RegisterAsyncTask(task As PageAsyncTask)

Parameters​

A PageAsyncTask that defines the asynchronous task.

Exceptions​

The asynchronous task is .

RegisterClientScriptBlock(String, String)​

Emits client-side script blocks to the response. (Inherited from Page)

public void RegisterClientScriptBlock(string key, string script)
Sub RegisterClientScriptBlock(key As String, script As String)

Parameters​

Unique key that identifies a script block.

Content of script that is sent to the client.

RegisterHiddenField(String, String)​

Allows server controls to automatically register a hidden field on the form. The field will be sent to the Page object when the HtmlForm server control is rendered. (Inherited from Page)

public void RegisterHiddenField(string hiddenFieldName, string hiddenFieldInitialValue)
Sub RegisterHiddenField(hiddenFieldName As String, hiddenFieldInitialValue As String)

Parameters​

The unique name of the hidden field to be rendered.

  • hiddenFieldInitialValue: String

The value to be emitted in the hidden form.

RegisterOnSubmitStatement(String, String)​

Allows a page to access the client event. The script should be a function call to client code registered elsewhere. (Inherited from Page)

public void RegisterOnSubmitStatement(string key, string script)
Sub RegisterOnSubmitStatement(key As String, script As String)

Parameters​

Unique key that identifies a script block.

The client-side script to be sent to the client.

RegisterRequiresControlState(Control)​

Registers a control as one whose control state must be persisted. (Inherited from Page)

public void RegisterRequiresControlState(Control control)
Sub RegisterRequiresControlState(control As Control)

Parameters​

The control to register.

Exceptions​

The control to register is .

The RegisterRequiresControlState(System.Web.UI.Control) method can be called only before or during the PreRender event.

RegisterRequiresPostBack(Control)​

Registers a control as one that requires postback handling when the page is posted back to the server. (Inherited from Page)

public void RegisterRequiresPostBack(Control control)
Sub RegisterRequiresPostBack(control As Control)

Parameters​

The control to be registered.

Exceptions​

The control to register does not implement the IPostBackDataHandler interface.

RegisterRequiresRaiseEvent(IPostBackEventHandler)​

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

public void RegisterRequiresRaiseEvent(IPostBackEventHandler control)
Sub RegisterRequiresRaiseEvent(control As IPostBackEventHandler)

Parameters​

The control to register.

RegisterRequiresViewStateEncryption()​

Registers a control with the page as one requiring view-state encryption. (Inherited from Page)

public void RegisterRequiresViewStateEncryption()
Sub RegisterRequiresViewStateEncryption()

Exceptions​

The RegisterRequiresViewStateEncryption method must be called before or during the page phase in the page life cycle.

RegisterStartupScript(String, String)​

Emits a client-side script block in the page response. (Inherited from Page)

public void RegisterStartupScript(string key, string script)
Sub RegisterStartupScript(key As String, script As String)

Parameters​

Unique key that identifies a script block.

Content of script that will be sent to the client.

RegisterViewStateHandler()​

Causes page view state to be persisted, if called. (Inherited from Page)

public void RegisterViewStateHandler()
Sub RegisterViewStateHandler()

RenderControl(HtmlTextWriter)​

Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from Control)

public void RenderControl(HtmlTextWriter writer)
Sub RenderControl(writer As HtmlTextWriter)

Parameters​

The HtmlTextWriter object that receives the control content.

RequiresControlState(Control)​

Determines whether the specified Control object is registered to participate in control state management. (Inherited from Page)

public bool RequiresControlState(Control control)
Function RequiresControlState(control As Control) As Boolean

Parameters​

The Control to check for a control state requirement.

Returns​

if the specified Control requires control state; otherwise,

ResolveClientUrl(String)​

Gets a URL that can be used by the browser. (Inherited from Control)

public string ResolveClientUrl(string relativeUrl)
Function ResolveClientUrl(relativeUrl As String) As String

Parameters​

A URL relative to the current page.

Returns​

A fully qualified URL to the specified resource suitable for use on the browser.

Exceptions​

is .

ResolveUrl(String)​

Converts a URL into one that is usable on the requesting client. (Inherited from Control)

public string ResolveUrl(string relativeUrl)
Function ResolveUrl(relativeUrl As String) As String

Parameters​

The URL associated with the TemplateSourceDirectory property.

Returns​

The converted URL.

Exceptions​

Occurs if the parameter contains .

SetFocus(Control)​

Sets the browser focus to the specified control. (Inherited from Page)

public void SetFocus(Control control)
Sub SetFocus(control As Control)

Parameters​

The control to receive focus.

Exceptions​

is .

SetFocus(System.Web.UI.Control) is called when the control is not part of a Web Forms page. - or - SetFocus(System.Web.UI.Control) is called after the PreRender event.

SetFocus(String)​

Sets the browser focus to the control with the specified identifier. (Inherited from Page)

public void SetFocus(string clientID)
Sub SetFocus(clientID As String)

Parameters​

The ID of the control to set focus to.

Exceptions​

is .

SetFocus(System.String) is called when the control is not part of a Web Forms page.- or - SetFocus(System.String) is called after the PreRender event.

SetRenderMethodDelegate(RenderMethod)​

Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from Control)

public void SetRenderMethodDelegate(RenderMethod renderMethod)
Sub SetRenderMethodDelegate(renderMethod As RenderMethod)

Parameters​

The information necessary to pass to the delegate so that it can render the server control.

TestDeviceFilter(String)​

Returns a Boolean value indicating whether a device filter applies to the HTTP request. (Inherited from TemplateControl)

public bool TestDeviceFilter(string filterName)
Function TestDeviceFilter(filterName As String) As Boolean

Parameters​

The browser name to test.

Returns​

if the client browser specified in is the same as the specified browser; otherwise, . The default is .

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

TryUpdateModel(Page.TModel)​

Updates the specified model instance using values from the data-bound control. (Inherited from Page)

public bool TryUpdateModel(TModel model)
Function TryUpdateModel(model As TModel) As Boolean

Parameters​

  • model: TModel

The model.

Returns​

if model binding is successful; otherwise, .

TryUpdateModel(Page.TModel, IValueProvider)​

Updates the model instance using values from the specified value provider. (Inherited from Page)

public bool TryUpdateModel(TModel model, IValueProvider valueProvider)
Function TryUpdateModel(model As TModel, valueProvider As IValueProvider) As Boolean

Parameters​

  • model: TModel

The model.

The value provider.

Returns​

if model binding is successful; otherwise, .

UnregisterRequiresControlState(Control)​

Stops persistence of control state for the specified control. (Inherited from Page)

public void UnregisterRequiresControlState(Control control)
Sub UnregisterRequiresControlState(control As Control)

Parameters​

The Control for which to stop persistence of control state.

Exceptions​

The Control is .

UpdateModel(Page.TModel)​

Updates the specified model instance using values from the data-bound control. (Inherited from Page)

public void UpdateModel(TModel model)
Sub UpdateModel(model As TModel)

Parameters​

  • model: TModel

The model.

UpdateModel(Page.TModel, IValueProvider)​

Updates the specified model instance using values from a specified value provider. (Inherited from Page)

public void UpdateModel(TModel model, IValueProvider valueProvider)
Sub UpdateModel(model As TModel, valueProvider As IValueProvider)

Parameters​

  • model: TModel

The model.

The value provider.

Validate()​

Instructs any validation controls included on the page to validate their assigned information. (Inherited from Page)

public void Validate()
Sub Validate()

Validate(String)​

Instructs the validation controls in the specified validation group to validate their assigned information. (Inherited from Page)

public void Validate(string validationGroup)
Sub Validate(validationGroup As String)

Parameters​

The validation group name of the controls to validate.

VerifyRenderingInServerForm(Control)​

Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time. (Inherited from Page)

public void VerifyRenderingInServerForm(Control control)
Sub VerifyRenderingInServerForm(control As Control)

Parameters​

The ASP.NET server control that is required in the HtmlForm control.

Exceptions​

The specified server control is not contained between the opening and closing tags of the HtmlForm server control at run time.

The control to verify is .

Events​

AbortTransaction​

Occurs when a user ends a transaction. (Inherited from TemplateControl)

public event EventHandler DplxWebForm.AbortTransaction;
Public Event DplxWebForm.AbortTransaction As EventHandler

Event Handler​

EventHandler

CommitTransaction​

Occurs when a transaction completes. (Inherited from TemplateControl)

public event EventHandler DplxWebForm.CommitTransaction;
Public Event DplxWebForm.CommitTransaction As EventHandler

Event Handler​

EventHandler

DataBinding​

Occurs when the server control binds to a data source. (Inherited from Control)

public event EventHandler DplxWebForm.DataBinding;
Public Event DplxWebForm.DataBinding As EventHandler

Event Handler​

EventHandler

Disposed​

Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control)

public event EventHandler DplxWebForm.Disposed;
Public Event DplxWebForm.Disposed As EventHandler

Event Handler​

EventHandler

Error​

Occurs when an unhandled exception is thrown. (Inherited from TemplateControl)

public event EventHandler DplxWebForm.Error;
Public Event DplxWebForm.Error As EventHandler

Event Handler​

EventHandler

Init​

Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control)

public event EventHandler DplxWebForm.Init;
Public Event DplxWebForm.Init As EventHandler

Event Handler​

EventHandler

InitComplete​

Occurs when page initialization is complete. (Inherited from Page)

public event EventHandler DplxWebForm.InitComplete;
Public Event DplxWebForm.InitComplete As EventHandler

Event Handler​

EventHandler

Load​

Occurs when the server control is loaded into the Page object. (Inherited from Control)

public event EventHandler DplxWebForm.Load;
Public Event DplxWebForm.Load As EventHandler

Event Handler​

EventHandler

LoadComplete​

Occurs at the end of the load stage of the page's life cycle. (Inherited from Page)

public event EventHandler DplxWebForm.LoadComplete;
Public Event DplxWebForm.LoadComplete As EventHandler

Event Handler​

EventHandler

PreInit​

Occurs before page initialization. (Inherited from Page)

public event EventHandler DplxWebForm.PreInit;
Public Event DplxWebForm.PreInit As EventHandler

Event Handler​

EventHandler

PreLoad​

Occurs before the page Load event. (Inherited from Page)

public event EventHandler DplxWebForm.PreLoad;
Public Event DplxWebForm.PreLoad As EventHandler

Event Handler​

EventHandler

PreRender​

Occurs after the Control object is loaded but prior to rendering. (Inherited from Control)

public event EventHandler DplxWebForm.PreRender;
Public Event DplxWebForm.PreRender As EventHandler

Event Handler​

EventHandler

PreRenderComplete​

Occurs before the page content is rendered. (Inherited from Page)

public event EventHandler DplxWebForm.PreRenderComplete;
Public Event DplxWebForm.PreRenderComplete As EventHandler

Event Handler​

EventHandler

SaveStateComplete​

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)

public event EventHandler DplxWebForm.SaveStateComplete;
Public Event DplxWebForm.SaveStateComplete As EventHandler

Event Handler​

EventHandler

Unload​

Occurs when the server control is unloaded from memory. (Inherited from Control)

public event EventHandler DplxWebForm.Unload;
Public Event DplxWebForm.Unload As EventHandler

Event Handler​

EventHandler

See Also​

ceTe.DynamicPDF.ReportWriter