Calls back to a ScriptControl class to return instance scripts that must be rendered to support the client object.
Syntax
CSharp
public void RegisterScriptDescriptors (
IScriptControl scriptControl
)
VisualBasic
Public Sub RegisterScriptDescriptors ( _
scriptControl As IScriptControl _
)
ManagedCPlusPlus
public:
virtual void RegisterScriptDescriptors (
IScriptControl^ scriptControl
) sealed
JSharp
public final void RegisterScriptDescriptors (
IScriptControl scriptControl
)
Parameters
- scriptControl (IScriptControl)
The script control for which script descriptors will be registered.
Remarks
The ScriptControl class calls the RegisterScriptDescriptors method during its Render(HtmlTextWriter) event.
Notes For Inheritors
If you derive from the ScriptControl class and override the Render(HtmlTextWriter) method, but you do not call the base class method, you must call the RegisterScriptDescriptors method so that the ScriptManager control can render the instance scripts that support the client object that the control represents.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)