#SqlResponseServer

##Properties

Datatype Property name Property description Default Value
HttpApplicationState Application Gets the System.Web.HttpApplicationState object for the current Web request. null
String AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl object that contains this control. String.Empty
String AppRelativeVirtualPath Gets or sets the application-relative, virtual directory path to the file from which the control is parsed and compiled. null
TimeSpan AsyncTimeout Gets or sets a value indicating the time-out interval used when processing asynchronous tasks. 00:00:45
Control AutoPostBackControl Gets or sets the control of the page that is used to postback to the server. null
Control BindingContainer Gets the control that contains this control's data binding. null
Boolean Buffer Sets a value indicating whether the page output is buffered. null
Cache Cache Gets the System.Web.Caching.Cache object associated with the application in which the page resides. null
String ClientID Gets the server control identifier generated by ASP.NET. __Page
ClientIDMode ClientIDMode   Inherit
String ClientQueryString Gets the query string portion of the requested URL. String.Empty
ClientScriptManager ClientScript Gets a System.Web.UI.ClientScriptManager object used to manage, register, and add script to the page. null
String 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. String.Empty
Int32 CodePage Sets the code page identifier for the current System.Web.UI.Page. null
String ContentType Sets the HTTP MIME type for the System.Web.HttpResponse object associated with the page. null
ControlCollection Controls Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. Depends on the controls added to the page
String Culture Sets the culture ID for the System.Threading.Thread object associated with the page. English (United States)
Control DataItemContainer   null
Control DataKeysContainer   null
Boolean EnableEventValidation Gets or sets a value indicating whether the page validates postback and callback events. True
Boolean EnableTheming Gets or sets a Boolean value indicating whether themes apply to the control that is derived from the System.Web.UI.TemplateControl class. True
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. True
Boolean EnableViewStateMac Gets or sets a value indicating whether ASP.NET should run a message authentication check (MAC) on the page's view state when the page is posted back from the client. True
String ErrorPage Gets or sets the error page to which the requesting browser is redirected in the event of an unhandled page exception. null
HtmlForm Form Gets the HTML form for the page. null
HtmlHead Header Gets the document header for the page if the head element is defined with a runat=server in the page declaration. null
String ID Gets or sets an identifier for a particular instance of the System.Web.UI.Page class. __Page
Char IdSeparator Gets the character used to separate control identifiers when building a unique ID for a control on a page. null
Boolean IsAsync Gets a value indicating whether the page is processed asynchronously. False
Boolean IsCallback Gets a value indicating whether the page request is the result of a call back. False
Boolean IsCrossPagePostBack Gets a value indicating whether the page is involved in a cross-page postback. False
Boolean IsPostBack Gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time. False
Boolean IsPostBackEventControlRegistered Gets a value indicating whether the control of the page that submits a postback is registered. False
Boolean IsReusable Gets a value indicating whether the System.Web.UI.Page object can be reused. False
Boolean IsValid Gets a value indicating whether page validation succeeded. null
IDictionary Items Gets a list of objects stored in the page context. null
Int32 LCID Sets the locale identifier for the System.Threading.Thread object associated with the page. 1033
Boolean 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. False
MasterPage Master Gets the master page that determines the overall look of the page. null
String MasterPageFile Gets or sets the file name of the master page. null
Int32 MaxPageStateFieldLength Gets or sets the maximum length for the page's state field. -1
String MetaDescription   null
String MetaKeywords   null
ModelBindingExecutionContext ModelBindingExecutionContext   null
ModelStateDictionary ModelState   null
Control 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. null
Page Page Gets a reference to the System.Web.UI.Page instance that contains the server control. null
PageAdapter PageAdapter Gets the adapter that renders the page for the specific requesting browser. null
Control Parent Gets a reference to the server control's parent control in the page control hierarchy. null
Page PreviousPage Gets the page that transferred control to the current page. null
Version RenderingCompatibility   4.0
HttpRequest Request Gets the System.Web.HttpRequest object for the requested page. null
HttpResponse Response Gets the System.Web.HttpResponse object associated with the System.Web.UI.Page object. This object allows you to send HTTP response data to a client and contains information about that response. null
String ResponseEncoding Sets the encoding language for the current System.Web.HttpResponse object. null
RouteData RouteData   null
HttpServerUtility Server Gets the Server object, which is an instance of the System.Web.HttpServerUtility class. null
HttpSessionState Session Gets the current Session object provided by ASP.NET. null
ISite Site Gets information about the container that hosts the current control when rendered on a design surface. null
String SkinID Gets or sets the skin to apply to the control. String.Empty
Boolean SkipFormActionValidation   False
Boolean SmartNavigation Gets or sets a value indicating whether smart navigation is enabled. This property is deprecated. (deprecated) False
String StyleSheetTheme Gets the stylesheet theme for the page. String.Empty
TemplateControl TemplateControl Gets or sets a reference to the template that contains this control. null
String TemplateSourceDirectory Gets the virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl that contains the current server control. String.Empty
String Theme Gets the theme for the page. String.Empty
String Title Gets or sets the title for the page. null
TraceContext Trace Gets the System.Web.TraceContext object for the current Web request. null
Boolean TraceEnabled Sets a value indicating whether tracing is enabled for the System.Web.UI.Page object. False
TraceMode TraceModeValue Sets the mode in which trace statements are displayed on the page. SortByTime
String UICulture Sets the user interface (UI) ID for the System.Threading.Thread object associated with the page. English (United States)
String UniqueID Gets the unique, hierarchically qualified identifier for the server control. __Page
UnobtrusiveValidationMode UnobtrusiveValidationMode   None
IPrincipal User Gets information about the user making the page request. null
ValidateRequestMode ValidateRequestMode   Enabled
ValidatorCollection Validators Gets a collection of all validation controls contained on the requested page. null
ViewStateEncryptionMode ViewStateEncryptionMode Gets or sets the encryption mode of the view state. Auto
ViewStateMode ViewStateMode   Inherit
String ViewStateUserKey Assigns an identifier to an individual user in the view-state variable associated with the current page. null
Boolean Visible Gets or sets a value indicating whether the System.Web.UI.Page object is rendered. True

##Methods

###AddOnPreRenderCompleteAsync(System.Web.BeginEventHandler,System.Web.EndEventHandler) Registers beginning and ending event handler delegates that do not require state information for an asynchronous page.

Parameters:


###AddOnPreRenderCompleteAsync(System.Web.BeginEventHandler,System.Web.EndEventHandler,System.Object) Registers beginning and ending event handler delegates for an asynchronous page.

Parameters:


###ApplyStyleSheetSkin(System.Web.UI.Page) Applies the style properties defined in the page style sheet to the control.

Parameters:


###DataBind() Binds a data source to the invoked server control and all its child controls.


###DesignerInitialize() Performs any initialization of the instance of the System.Web.UI.Page class that is required by RAD designers. This method is used only at design time.


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


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

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


###ExecuteRegisteredAsyncTasks() Starts the execution of an asynchronous task.


###FindControl(System.String) Searches the page naming container for a server control with the specified identifier.

Parameters:

Returns:

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


###Focus() Sets input focus to a control.


###GetDataItem() Gets the data item at the top of the data-binding context stack.

Returns:

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


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetPostBackClientEvent(System.Web.UI.Control,System.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. (deprecated)

Parameters:

Returns:

The string that represents the client event.


###GetPostBackClientHyperlink(System.Web.UI.Control,System.String) 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. (deprecated)

Parameters:

Returns:

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


###GetPostBackEventReference(System.Web.UI.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 System.Web.UI.Control object.(deprecated)

Parameters:

Returns:

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


###GetPostBackEventReference(System.Web.UI.Control,System.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. (deprecated)

Parameters:

Returns:

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


###GetRouteUrl(System.Object)

Parameters:


###GetRouteUrl(System.String,System.Object)

Parameters:


###GetRouteUrl(System.Web.Routing.RouteValueDictionary)

Parameters:


###GetRouteUrl(System.String,System.Web.Routing.RouteValueDictionary)

Parameters:


###GetType() Gets the System.Type of the current instance.

Returns:

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


###GetTypeHashCode() Retrieves a hash code that is generated by System.Web.UI.Page objects that are generated at run time. This hash code is unique to the System.Web.UI.Page object's control hierarchy.

Returns:

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


###GetUniqueIDRelativeTo(System.Web.UI.Control)

Parameters:


###GetValidators(System.String) Returns a collection of control validators for a specified validation group.

Parameters:

  • System.String validationGroup - The validation group to return, or null to return the default validation group.

Returns:

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


###HasControls() Determines if the server control contains any child controls.

Returns:

true if the control contains other controls; otherwise, false.


###IsClientScriptBlockRegistered(System.String) Determines whether the client script block with the specified key is registered with the page. (deprecated)

Parameters:

  • System.String key - The string key of the client script to search for.

Returns:

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


###IsStartupScriptRegistered(System.String) Determines whether the client startup script is registered with the System.Web.UI.Page object.(deprecated)

Parameters:

  • System.String key - The string key of the startup script to search for.

Returns:

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


###LoadControl(System.String) Loads a System.Web.UI.Control object from a file based on a specified virtual path.

Parameters:

  • System.String virtualPath - The virtual path to a control file.

Returns:

Returns the specified System.Web.UI.Control.


###LoadControl(System.Type,System.Object[]) Loads a System.Web.UI.Control object based on a specified type and constructor parameters.

Parameters:

  • System.Type t - The type of the control.
  • System.Object[] parameters - An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If

Returns:

Returns the specified System.Web.UI.UserControl.


###LoadTemplate(System.String) Obtains an instance of the System.Web.UI.ITemplate interface from an external file.

Parameters:

  • System.String virtualPath - The virtual path to a user control file.

Returns:

An instance of the specified template.


###MapPath(System.String) Retrieves the physical path that a virtual path, either absolute or relative, or an application-relative path maps to.

Parameters:

Returns:

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


###ParseControl(System.String) Parses an input string into a System.Web.UI.Control object on the Web Forms page or user control.

Parameters:

Returns:

The parsed System.Web.UI.Control.


###ParseControl(System.String,System.Boolean) Parses an input string into a System.Web.UI.Control object on the ASP.NET Web page or user control.

Parameters:

  • System.String content - A string that contains a user control.
  • System.Boolean ignoreParserFilter - A value that specifies whether to ignore the parser filter.

Returns:

The parsed control.


###ProcessRequest(System.Web.HttpContext) Sets the intrinsics of the System.Web.UI.Page, such as the System.Web.UI.Page.Context, System.Web.UI.Page.Request, System.Web.UI.Page.Response, and System.Web.UI.Page.Application properties.

Parameters:

  • System.Web.HttpContext context - An System.Web.HttpContext object that provides references to the intrinsic server objects (for example, System.Web.HttpContext.Request, System.Web.HttpContext.Response, and System.Web.HttpContext.Session) used to service HTTP requests.

###ReadStringResource() Reads a string resource. The System.Web.UI.TemplateControl.ReadStringResource method is not intended for use from within your code.

Returns:

An object representing the resource.


###RegisterArrayDeclaration(System.String,System.String) Declares a value that is declared as an ECMAScript array declaration when the page is rendered. (deprecated)

Parameters:

  • System.String arrayName - The name of the array in which to declare the value.
  • System.String arrayValue - The value to place in the array.

###RegisterAsyncTask(System.Web.UI.PageAsyncTask) Registers a new asynchronous task with the page.

Parameters:


###RegisterClientScriptBlock(System.String,System.String) Emits client-side script blocks to the response. (deprecated)

Parameters:

  • System.String key - Unique key that identifies a script block.
  • System.String script - Content of script that is sent to the client.

###RegisterHiddenField(System.String,System.String) Allows server controls to automatically register a hidden field on the form. The field will be sent to the System.Web.UI.Page object when the System.Web.UI.HtmlControls.HtmlForm server control is rendered.(deprecated)

Parameters:

  • System.String hiddenFieldName - The unique name of the hidden field to be rendered.
  • System.String hiddenFieldInitialValue - The value to be emitted in the hidden form.

###RegisterOnSubmitStatement(System.String,System.String) Allows a page to access the client OnSubmit event. The script should be a function call to client code registered elsewhere. (deprecated)

Parameters:

  • System.String key - Unique key that identifies a script block.
  • System.String script - The client-side script to be sent to the client.

###RegisterRequiresControlState(System.Web.UI.Control) Registers a control as one whose control state must be persisted.

Parameters:


###RegisterRequiresPostBack(System.Web.UI.Control) Registers a control as one that requires postback handling when the page is posted back to the server.

Parameters:


###RegisterRequiresRaiseEvent(System.Web.UI.IPostBackEventHandler) Registers an ASP.NET server control as one requiring an event to be raised when the control is processed on the System.Web.UI.Page object.

Parameters:


###RegisterRequiresViewStateEncryption() Registers a control with the page as one requiring view-state encryption.


###RegisterStartupScript(System.String,System.String) Emits a client-side script block in the page response. (deprecated)

Parameters:

  • System.String key - Unique key that identifies a script block.
  • System.String script - Content of script that will be sent to the client.

###RegisterViewStateHandler() Causes page view state to be persisted, if called.


###RenderControl(System.Web.UI.HtmlTextWriter) Outputs server control content to a provided System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Parameters:


###RequiresControlState(System.Web.UI.Control) Determines whether the specified System.Web.UI.Control object is registered to participate in control state management.

Parameters:

Returns:

true if the specified System.Web.UI.Control requires control state; otherwise, false


###ResolveClientUrl(System.String) Gets a URL that can be used by the browser.

Parameters:

  • System.String relativeUrl - A URL relative to the current page.

Returns:

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


###ResolveUrl(System.String) Converts a URL into one that is usable on the requesting client.

Parameters:

Returns:

The converted URL.


###SetFocus(System.Web.UI.Control) Sets the browser focus to the specified control.

Parameters:


###SetFocus(System.String) Sets the browser focus to the control with the specified identifier.

Parameters:

  • System.String clientID - The ID of the control to set focus to.

###SetRenderMethodDelegate(System.Web.UI.RenderMethod) Assigns an event handler delegate to render the server control and its content into its parent control.

Parameters:

  • System.Web.UI.RenderMethod renderMethod - The information necessary to pass to the delegate so that it can render the server control.

###SetTraceData(System.Object,System.Object)

Parameters:


###SetTraceData(System.Object,System.Object,System.Object)

Parameters:


###TestDeviceFilter(System.String) Returns a Boolean value indicating whether a device filter applies to the HTTP request.

Parameters:

Returns:

true if the client browser specified in <paramref name="filterName is the same as the specified browser; otherwise, false. The default is false.


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.


###TryUpdateModel(System.Web.UI.Page.TModel)

Parameters:


###TryUpdateModel(System.Web.UI.Page.TModel,System.Web.ModelBinding.IValueProvider)

Parameters:


###UnregisterRequiresControlState(System.Web.UI.Control) Stops persistence of control state for the specified control.

Parameters:


###UpdateModel(System.Web.UI.Page.TModel)

Parameters:


###UpdateModel(System.Web.UI.Page.TModel,System.Web.ModelBinding.IValueProvider)

Parameters:


###Validate() Instructs any validation controls included on the page to validate their assigned information.


###Validate(System.String) Instructs the validation controls in the specified validation group to validate their assigned information.

Parameters:

  • System.String validationGroup - The validation group name of the controls to validate.

###VerifyRenderingInServerForm(System.Web.UI.Control) Confirms that an System.Web.UI.HtmlControls.HtmlForm control is rendered for the specified ASP.NET server control at run time.

Parameters: