protected void Page_Load(object sender, EventArgs e)
        {
            _manageTagPopup.Options.IsPopup = true;

            entityType = StringToEntityType(Request["view"]);

            _switcherEntityType.SortItemsHeader = CRMCommonResource.Show + ":";

            _forContacts.SortLabel  = CRMSettingResource.BothPersonAndCompany;
            _forContacts.SortUrl    = "settings.aspx?type=tag";
            _forContacts.IsSelected = entityType == EntityType.Contact;


            _forDeals.SortLabel  = CRMCommonResource.DealModuleName;
            _forDeals.SortUrl    = String.Format("settings.aspx?type=tag&view={0}", EntityType.Opportunity.ToString().ToLower());
            _forDeals.IsSelected = entityType == EntityType.Opportunity;


            _forCases.SortLabel  = CRMCommonResource.CasesModuleName;
            _forCases.SortUrl    = String.Format("settings.aspx?type=tag&view={0}", EntityType.Case.ToString().ToLower());
            _forCases.IsSelected = entityType == EntityType.Case;

            RegisterClientScriptHelper.DataTagSettingsView(Page, entityType);
            RegisterScript();
        }