Exemplo n.º 1
0
 public IActionResult WorkWeek()
 {
     ViewBag.dataSource  = GanttData.ProjectNewData();
     ViewBag.workWeek    = new string[] { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" };
     ViewBag.WorkingDays = GetDayOfWeek();
     return(View());
 }
Exemplo n.º 2
0
        // GET: Gantt
        public ActionResult Reorder()
        {
            ViewBag.DataSource = GanttData.ProjectNewData();

            List <object> columnNames = new List <object>();

            columnNames.Add(new { text = "ID", value = "TaskId" });
            columnNames.Add(new { text = "Task Name", value = "TaskName" });
            columnNames.Add(new { text = "Start Date", value = "StartDate" });
            columnNames.Add(new { text = "End Date", value = "EndDate" });
            columnNames.Add(new { text = "Duration", value = "Duration" });
            columnNames.Add(new { text = "Dependency", value = "Predecessor" });
            columnNames.Add(new { text = "Progress", value = "Progress" });
            ViewBag.columns = columnNames;

            List <object> ColumnsIindex = new List <object>();

            ColumnsIindex.Add(new { text = "1", value = "0" });
            ColumnsIindex.Add(new { text = "2", value = "1" });
            ColumnsIindex.Add(new { text = "3", value = "2" });
            ColumnsIindex.Add(new { text = "4", value = "3" });
            ColumnsIindex.Add(new { text = "5", value = "4" });
            ColumnsIindex.Add(new { text = "6", value = "5" });
            ColumnsIindex.Add(new { text = "7", value = "6" });
            ViewBag.index = ColumnsIindex;
            return(View());
        }
 public IActionResult Selection()
 {
     ViewBag.dataSource = GanttData.ProjectNewData();
     ViewBag.data1      = DropDownListData1.SelectionModeList();
     ViewBag.data2      = DropDownListData1.SelectionTypeList();
     ViewBag.data3      = DropDownListData2.ToggleList();
     return(View());
 }
Exemplo n.º 4
0
        // GET: Gantt
        public ActionResult ShowHide()
        {
            ViewBag.DataSource = GanttData.ProjectNewData();
            List <object> ColumnNames = new List <object>();

            ColumnNames.Add(new { text = "ID", value = "TaskId" });
            ColumnNames.Add(new { text = "Start Date", value = "StartDate" });
            ColumnNames.Add(new { text = "End Date", value = "EndDate" });
            ColumnNames.Add(new { text = "Duration", value = "Duration" });
            ColumnNames.Add(new { text = "Progress", value = "Progress" });
            ColumnNames.Add(new { text = "Dependency", value = "Predecessor" });
            ViewBag.columns = ColumnNames;
            return(View());
        }
 // GET: Gantt
 public ActionResult EventMarkers()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }
Exemplo n.º 6
0
 public IActionResult ColumnResize()
 {
     ViewBag.dataSource = GanttData.ProjectNewData();
     return(View());
 }
Exemplo n.º 7
0
 // GET: Gantt
 public ActionResult DragAndDrop()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }
 public IActionResult Holidays()
 {
     ViewBag.dataSource = GanttData.ProjectNewData();
     return(View());
 }
 // GET: Gantt
 public ActionResult ToolbarTemplate()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }
 public IActionResult WorkingTimeRange()
 {
     ViewBag.dataSource = GanttData.ProjectNewData();
     return(View());
 }
Exemplo n.º 11
0
 // GET: Gantt
 public ActionResult WorkWeek()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     ViewBag.Data       = CheckList.Days();
     return(View());
 }
 // GET: Gantt
 public ActionResult DefaultFunctionalities()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }
 // GET: Gantt
 public ActionResult KeyboardNavigation()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }
Exemplo n.º 14
0
 public IActionResult Indicators()
 {
     ViewBag.dataSource = GanttData.ProjectNewData();
     return(View());
 }
Exemplo n.º 15
0
 public ActionResult Gantt(int Id)
 {
     ViewBag.DataSource = ganttData.ProjectNewData(Id);
     return(View());
 }
Exemplo n.º 16
0
 // GET: Gantt
 public ActionResult GridLines()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     ViewBag.Data       = DropDownLists.GridLinesData();
     return(View());
 }
 // GET: Gantt
 public ActionResult Resizing()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }
Exemplo n.º 18
0
 // GET: Gantt
 public ActionResult ColumnMenu()
 {
     ViewBag.DataSource = GanttData.ProjectNewData();
     return(View());
 }