ScriptManager.RegisterStartupScript Method
.NET Framework 4.5
Registers a startup script block with the ScriptManager control and adds the script block to the page.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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. |