This documentation is archived and is not being maintained.

ClientScriptManager.RegisterStartupScript Method

Registers the startup script with the Page object.

Name Description
ClientScriptManager.RegisterStartupScript (Type, String, String)
Registers the startup script with the Page object using a type, a key, and a script literal.
ClientScriptManager.RegisterStartupScript (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.
Show: