private void DoDataBind()
    {
        if (CurrentUser.TerritoryId > 0)
        {
            var db = new TerritorySite.BL.Linq.TerritoryDBDataContext();

            currentTerritory  = (from t in db.Territories
                     where t.TerritoryId == CurrentUser.TerritoryId
                     select t).First();
        }
        divAssign.Visible = false;
        divReturn.Visible = false;
        divFeedback.Visible = false;
        switch (currentTerritory.Status)
        {
            case TerritorySite.BL.Linq.Territory.TerritoryStatus.Available:
                divAssign.Visible = true;
                break;
            case TerritorySite.BL.Linq.Territory.TerritoryStatus.Assigned:
                divReturn.Visible = true;
                break;
            case TerritorySite.BL.Linq.Territory.TerritoryStatus.Cleanup:
                divFeedback.Visible = true;
                break;
            case TerritorySite.BL.Linq.Territory.TerritoryStatus.Unknown:
                break;
            default:
                break;
        }
    }
    private void DoDataBind()
    {
        if (CurrentUser.TerritoryId > 0)
        {
            var db = new TerritorySite.BL.Linq.TerritoryDBDataContext();

            currentTerritory = (from t in db.Territories
                                where t.TerritoryId == CurrentUser.TerritoryId
                                select t).First();
        }
    }