Tab

ASPxGridBase.BeforePerformDataSelect Event

Occurs before the control obtains data from a data source.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public event EventHandler BeforePerformDataSelect
Public Event BeforePerformDataSelect As EventHandler

Event Data

The BeforePerformDataSelect event's data class is EventArgs.

Remarks

ASPxGridView-Specific Information

When implementing master-detail mode, the BeforePerformDataSelect event should be handled to specify session values.

using DevExpress.Web.ASPxGridView;

protected void detailGrid_BeforePerformDataSelect(object sender, EventArgs e) {
    Session["CategoryID"] = (sender as ASPxGridView).GetMasterRowKeyValue();
}

To learn more, see Master-Detail: Implementation.

Grid View - Getting Started

See Also