GridView.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.
Creates a PostBackOptions object that represents the postback behavior of the specified button control.
virtual System::Web::UI::PostBackOptions ^ System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions(System::Web::UI::WebControls::IButtonControl ^ buttonControl) = System::Web::UI::WebControls::IPostBackContainer::GetPostBackOptions;
System.Web.UI.PostBackOptions IPostBackContainer.GetPostBackOptions (System.Web.UI.WebControls.IButtonControl buttonControl);
abstract member System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
override this.System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
Function GetPostBackOptions (buttonControl As IButtonControl) As PostBackOptions Implements IPostBackContainer.GetPostBackOptions
Parameters
- buttonControl
- IButtonControl
The button control for which to create the callback script.
Returns
A PostBackOptions that represents the postback behavior of the specified button control.
Implements
Exceptions
The buttonControl
parameter contains null
.
buttonControl
causes validation and is attempting to post back to the same container it validates.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.