RegisterStartupScript Method

ClientScriptManager.RegisterStartupScript Method

 

Registers the startup script with the Page object.

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

NameDescription
System_CAPS_pubmethodRegisterStartupScript(Type, String, String)

Registers the startup script with the Page object using a type, a key, and a script literal.

System_CAPS_pubmethodRegisterStartupScript(Type, String, String, Boolean)

Registers the startup script with the Page object using a type, a key, a script literal, and a Boolean value indicating whether to add script tags.

Return to top
Show:
© 2016 Microsoft