Share via


ScriptManagerNotFoundException Class

The exception that is thrown if a ScriptManager control is not found in the Web form.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ScriptManagerNotFoundException
    Inherits ConfigurationErrorsException
'Usage
Dim instance As ScriptManagerNotFoundException
[SerializableAttribute] 
public sealed class ScriptManagerNotFoundException : ConfigurationErrorsException
[SerializableAttribute] 
public ref class ScriptManagerNotFoundException sealed : public ConfigurationErrorsException
/** @attribute SerializableAttribute() */ 
public final class ScriptManagerNotFoundException extends ConfigurationErrorsException
SerializableAttribute 
public final class ScriptManagerNotFoundException extends ConfigurationErrorsException

Remarks

In Visual Studio 2010, the ReportViewer control is an AJAX control and requires a ScriptManager on the Web form.

Inheritance Hierarchy

System.Object
   System.Exception
     System.SystemException
       System.Configuration.ConfigurationException
         System.Configuration.ConfigurationErrorsException
          Microsoft.Reporting.WebForms.ScriptManagerNotFoundException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ScriptManagerNotFoundException Members
Microsoft.Reporting.WebForms Namespace