UpdatePanel内に配置したコントロール(ボタン等)の処理(サーバサイド)でクライアントスクリプトを出力する方法を記述します。 UpdatePanelを利用しない場合は、コントロールのAttributeを利用したり、Page.RegisterClientScriptBlockを利用しますが、UpdatePanel内ではこれらは動作しません。 UpdatePanelと併用する場合には、ScriptManager.RegisterClientScriptBlock( )メソッドを利用します。 サーバサイド処理後にalertスクリプトを出力する例は以下となります。(以下の処理はPage内の処理です。thisはPageを示します) string clientScript = "<script language='JavaScript'> alert('アラート!') </script>";