AsyncPostBackTrigger.EventName Property

 

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

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

[<TypeConverterAttribute("System.Web.UI.Design.AsyncPostBackTriggerEventNameConverter, System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]
member EventName : string with get, set

Property Value

Type: System.String

The event name. The default value is Empty.

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

.NET Framework
Available since 3.5
Return to top
Show: