public ServiceRequestsManagerToolTDS.CostInformationDataTable GetCostsNew()
        {
            costInformation = (ServiceRequestsManagerToolTDS.CostInformationDataTable)Session["serviceCostsDummyManagerTool"];
            if (costInformation == null)
            {
                costInformation = (ServiceRequestsManagerToolTDS.CostInformationDataTable)Session["costInformationManagerTool"];
            }

            return costInformation;
        }
        protected void AddCostsNewEmptyFix(GridView grdView)
        {
            if (grdCosts.Rows.Count == 0)
            {
                int companyId = Int32.Parse(hdfCompanyId.Value);
                ServiceRequestsManagerToolTDS.CostInformationDataTable dt = new ServiceRequestsManagerToolTDS.CostInformationDataTable();
                dt.AddCostInformationRow(-1, -1, "", "", "", -1, false, companyId);
                Session["serviceCostsDummyManagerTool"] = dt;

                grdCosts.DataBind();
            }

            // Normally executes at all postbacks
            if (grdCosts.Rows.Count == 1)
            {
                ServiceRequestsManagerToolTDS.CostInformationDataTable dt = (ServiceRequestsManagerToolTDS.CostInformationDataTable)Session["serviceCostsDummyManagerTool"];
                if (dt != null)
                {
                    grdCosts.Rows[0].Visible = false;
                    grdCosts.Rows[0].Controls.Clear();
                }
            }
        }