Export (0) Print
Expand All

ScriptManager.RegisterStartupScript Method

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
Public method Static member 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.
Public method Static member 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.
Top
Show:
© 2014 Microsoft