Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RegisterStartupScript Method

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.

  Name Description
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:
© 2015 Microsoft