public DashboardTDS.DashboardMyToDoListOnHoldDataTable GetDetailsOnHold()
        {
            dashboardMyToDoListOnHoldDataTable = (DashboardTDS.DashboardMyToDoListOnHoldDataTable)HttpContext.Current.Session["dashboardMyToDoListOnHoldDataTableDummy"];

            if (dashboardMyToDoListOnHoldDataTable == null)
            {
                dashboardMyToDoListOnHoldDataTable = ((DashboardTDS)HttpContext.Current.Session["dashboardMyToDoListTDS"]).DashboardMyToDoListOnHold;
            }

            return dashboardMyToDoListOnHoldDataTable;
        }
        protected void ItemsMyToDoOnHoldEmptyFix(GridView grdView)
        {
            if (grdMyToDoListOnHold.Rows.Count == 0)
            {
                DashboardTDS.DashboardMyToDoListOnHoldDataTable dt = new DashboardTDS.DashboardMyToDoListOnHoldDataTable();
                dt.AddDashboardMyToDoListOnHoldRow(0, "", false, "", "", "");
                Session["dashboardMyToDoListOnHoldDataTableDummy"] = dt;

                grdMyToDoListOnHold.DataBind();
            }

            // Normally executes at all postbacks
            if (grdMyToDoListOnHold.Rows.Count == 1)
            {
                DashboardTDS.DashboardMyToDoListOnHoldDataTable dt = (DashboardTDS.DashboardMyToDoListOnHoldDataTable)Session["dashboardMyToDoListOnHoldDataTableDummy"];
                if (dt != null)
                {
                    // Hide row
                    grdMyToDoListOnHold.Rows[0].Visible = false;
                    grdMyToDoListOnHold.Rows[0].Controls.Clear();
                }
            }
        }