Calls back to an ExtenderControl class to return instance scripts that must be rendered to support the client object.
Syntax
CSharp
VisualBasic
Public Sub RegisterScriptDescriptors ( _
extenderControl As IExtenderControl _
)
ManagedCPlusPlus
public:
virtual void RegisterScriptDescriptors (
IExtenderControl^ extenderControl
) sealed
JSharp
public final void RegisterScriptDescriptors (
IExtenderControl extenderControl
)
Parameters
- extenderControl (IExtenderControl)
The extender control for which script descriptors will be registered.
Remarks
The ExtenderControl class calls the RegisterScriptDescriptors method in its Render(HtmlTextWriter) method.
Notes For Inheritors
If you derive from the ExtenderControl 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)