ASPxGridBase.BeforePerformDataSelect Event
Occurs before the control obtains data from a data source.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
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