IPostBackContainer.GetPostBackOptions(IButtonControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the options required for a postback script for a specified button control.
public:
System::Web::UI::PostBackOptions ^ GetPostBackOptions(System::Web::UI::WebControls::IButtonControl ^ buttonControl);
public System.Web.UI.PostBackOptions GetPostBackOptions (System.Web.UI.WebControls.IButtonControl buttonControl);
abstract member GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
Public Function GetPostBackOptions (buttonControl As IButtonControl) As PostBackOptions
Parameters
- buttonControl
- IButtonControl
The control generating the postback event.
Returns
A PostBackOptions object containing the options required to generate a postback script for buttonControl
.
Remarks
Implementations of the GetPostBackOptions method should configure a new PostBackOptions instance with the information required for the GetPostBackEventReference method to construct a valid postback event reference, which, when executed on the client, initiates a postback.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示