Enables nested components such as content pages and user controls to add script and service references to pages when a ScriptManager control is already defined in a parent element.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
'Declaration <AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ <AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ Public Class ScriptManagerProxy _ Inherits Control 'Usage Dim instance As ScriptManagerProxy
A Web page can contain only one ScriptManager control, either directly on the page or indirectly inside a nested or parent component. The control lets you add scripts and services to content pages and to user controls if the master page or host page already contains a ScriptManager control.
When you use the control, you can add to the script and service collections defined by the ScriptManager control. If you do not want to include specific scripts and services on every page that includes a particular ScriptManager control, you can remove them from the ScriptManager control. You can then add them to individual pages by using the control instead.
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.