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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de