ClientScriptManager 和 ScriptManager

Posted chucklu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ClientScriptManager 和 ScriptManager相关的知识,希望对你有一定的参考价值。

ClientScriptManager.RegisterOnSubmitStatement(Type, String, String) Method  

Registers an OnSubmit statement with the Page object using a type, a key, and a script literal. The statement executes when the HtmlForm is submitted.

 

ClientScriptManager.RegisterStartupScript

Registers the startup script with the Page object.

 

ScriptManager.RegisterPostBackControl

Registers a control as a trigger for a postback.

This method is used to configure postback controls inside an UpdatePanel control that would otherwise perform asynchronous postbacks.

 

 

 

 

 

以上是关于ClientScriptManager 和 ScriptManager的主要内容,如果未能解决你的问题,请参考以下文章