AsyncPostBackTrigger.EventName Property

Definition

Gets or sets the postback control event that triggers an UpdatePanel control to be updated.

C#
[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; }
C#
[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; }

Property Value

The event name. The default value is Empty.

Attributes

Remarks

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.

Applies to

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

See also