AsyncPostBackTrigger.EventName Property
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.
Gets or sets the postback control event that triggers an UpdatePanel control to be updated.
public:
property System::String ^ EventName { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter("System.Web.UI.Design.AsyncPostBackTriggerEventNameConverter, System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public string EventName { get; set; }
[System.ComponentModel.TypeConverter("System.Web.UI.Design.AsyncPostBackTriggerEventNameConverter, System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public string EventName { get; set; }
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.AsyncPostBackTriggerEventNameConverter, System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]
member this.EventName : string with get, set
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.AsyncPostBackTriggerEventNameConverter, System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]
member this.EventName : string with get, set
Public Property EventName As String
The event name. The default value is Empty.
- Attributes
The EventName property is optional. If it is not specified, the DefaultEventAttribute attribute of the control is used to determine the default event. The following table lists default events for some common ASP.NET 2.0 controls.
Control | Default event |
---|---|
Button | Click |
Calendar | SelectionChanged |
CheckBox | CheckedChanged |
GridView | SelectedIndexChanged |
TextBox | TextChanged |
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: