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.