コード例 #1
0
        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;
            }
        }
コード例 #4
0
 protected void OpsLiveGrid_ContextMenuItemClick(object sender, DevExpress.Web.ASPxGridViewContextMenuItemClickEventArgs e)
 {
 }