ASPxGridBase.BeforePerformDataSelect Event
Occurs before the control obtains data from a data source.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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.
Related Links
See Also