Page.GetPostBackClientEvent メソッドとは何? わかりやすく解説 Weblio辞書 (original) (raw)
クライアント イベントで使用でき、指定したコントロールを、指定したイベント引数を使用してサーバーにポストバックするための参照を取得します。
名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文
<ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")> _ Public Function GetPostBackClientEvent ( _ control As Control, _ argument As String _ ) As String
Dim instance As Page Dim control As Control Dim argument As String Dim returnValue As String
returnValue = instance.GetPostBackClientEvent(control, argument)
[ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")] public string GetPostBackClientEvent ( Control control, string argument )
[ObsoleteAttribute(L"The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")] public: String^ GetPostBackClientEvent ( Control^ control, String^ argument )
/** @attribute ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202") */ public String GetPostBackClientEvent ( Control control, String argument )
ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202") public function GetPostBackClientEvent ( control : Control, argument : String ) : String
クライアント イベント ポストバックを受け取るサーバー コントロール。
IPostBackEventHandler.RaisePostBackEvent に渡されるString。
このメンバの使用は推奨されていません。代わりの方法については、ClientScriptManager クラスのトピックを参照してください。
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
.NET Framework
サポート対象 : 1.0、1.1
2.0 では、互換性のために残されています (コンパイル時に警告)
関連項目
Page クラス
Page メンバ
System.Web.UI 名前空間
OnClientClick
ClientScriptManager クラス