protected void MRPatrolsGrid_ContextMenuItemClick(object sender, DevExpress.Web.ASPxGridViewContextMenuItemClickEventArgs e)
        {
            switch (e.Item.Name)
            {
            case "تقرير PDF":
                MRPatrolReport_Exporter.WritePdfToResponse();
                break;

            case "تقرير Excel":
                MRPatrolReport_Exporter.WriteXlsToResponse();
                break;
            }
        }
        protected void GridControlAppointments_ContextMenuItemClick(object sender, DevExpress.Web.ASPxGridViewContextMenuItemClickEventArgs e)
        {
            switch (e.Item.Name)
            {
            case "GoToNextMonth":
                GoToNextMonth();
                break;

            case "GoToPreviousMonth":
                GoToPreviousMonth();
                break;
            }
        }
Пример #3
0
        protected void AhwalsPersonsGrid_ContextMenuItemClick(object sender, DevExpress.Web.ASPxGridViewContextMenuItemClickEventArgs e)
        {
            switch (e.Item.Name)
            {
            case "جديد":
                break;

            case "تعديل":
                break;

            case "حذف":
                break;

            case "تقرير PDF":
                AhwalPersonsGridExporter.WritePdfToResponse();
                break;

            case "تقرير Excel":
                AhwalPersonsGridExporter.WriteXlsToResponse();
                break;
            }
        }
 protected void OpsLiveGrid_ContextMenuItemClick(object sender, DevExpress.Web.ASPxGridViewContextMenuItemClickEventArgs e)
 {
 }