protected void GridControlAppointments_FillContextMenuItems(object sender, DevExpress.Web.ASPxGridViewContextMenuEventArgs e) { if (e.MenuType == DevExpress.Web.GridViewContextMenuType.Footer) { return; } e.Items.Clear(); ContextMenuHelper.FillMenuItems(e.Items, e.MenuType, ShowResources); }
protected void MRPatrolsGrid_FillContextMenuItems(object sender, DevExpress.Web.ASPxGridViewContextMenuEventArgs e) { if (e.MenuType == GridViewContextMenuType.Rows) { var item = e.CreateItem("تقرير", "تقرير"); item.BeginGroup = true; MRReportPatrolsGridrid_AddMenuSubItem(item, "PDF", "تقرير PDF", @"~/Content/ExportToPdf.png", true); MRReportPatrolsGridrid_AddMenuSubItem(item, "XLS", "تقرير Excel", @"~/Content/ExportToXls.png", true); e.Items.Add(item); } }
protected void OpsLiveGrid_FillContextMenuItems(object sender, DevExpress.Web.ASPxGridViewContextMenuEventArgs e) { e.Items.Add("تسليم بلاغ", "تسليم بلاغ"); }