Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

ScriptManagerProxy Constructor

Initializes a new instance of the ScriptManagerProxy class.

Syntax

CSharp

public ScriptManagerProxy ()

VisualBasic

Public Sub New

ManagedCPlusPlus

public:
ScriptManagerProxy ()

JSharp

public ScriptManagerProxy ()

Remarks

A page that contains a ScriptManagerProxy control must also contain a valid ScriptManager control. For example, if you are putting a ScriptManagerProxy control on a content page, the page must refer to a master page that contains a ScriptManager control.

Exceptions

ExceptionCondition
InvalidOperationException

There is no ScriptManager for the current page.

- or -

The current page is null.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)