RegisterStartupScript Method
Collapse the table of content
Expand the table of content

ScriptManager.RegisterStartupScript Method

 

Registers a startup script block with the ScriptManager control and adds the script block to the page.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticRegisterStartupScript(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.

System_CAPS_pubmethodSystem_CAPS_staticRegisterStartupScript(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.

Return to top
Show:
© 2016 Microsoft