System.Web.UI.Page.RegisterArrayDeclaration Method

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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Obsolete]
public void RegisterArrayDeclaration (string arrayName, string arrayValue)

Parameters

arrayName
The name of the array in which to declare the value.
arrayValue
The value to place in the array.

Remarks

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

The Page.RegisterArrayDeclaration(string, string) method has been deprecated. Use the ClientScriptManager.RegisterArrayDeclaration(string, string) method in the System.Web.UI.ClientScriptManager class.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0