ScriptManager.RegisterArrayDeclaration Method (Page, String, String)
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public static void RegisterArrayDeclaration( Page page, string arrayName, string arrayValue )
You use the RegisterArrayDeclaration method to register a client script array that is compatible with partial-page rendering and that has no Microsoft AJAX Library dependencies. This method registers the array every time that an asynchronous postback occurs. To register an array for a control that is inside an UpdatePanel control so that the array is registered only when the panel is updated, use the RegisterArrayDeclaration(Control, String, String) overload of this method.
If you want to register an array that does not pertain to partial-page updates, and if you want to register the array only one time during initial page rendering, use the RegisterArrayDeclaration method of the ClientScriptManager class. You can get a reference to the ClientScriptManager object from the ClientScript property of the page.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.