ScriptManager::RegisterStartupScript Method
.NET Framework (current version)
Registers a startup script block with the ScriptManager control and adds the script block to the page.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | RegisterStartupScript(Control^, Type^, String^, String^, Boolean) | Registers a startup script block for a control that is inside an UpdatePanel by using the ScriptManager control, and adds the script block to the page. |
![]() ![]() | RegisterStartupScript(Page^, Type^, String^, String^, Boolean) | Registers a startup script block for every asynchronous postback with the ScriptManager control and adds the script block to the page. |
Show:

