This documentation is archived and is not being maintained.

ClientScriptManager::RegisterStartupScript Method

Registers the startup script with the Page object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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