Esempio n. 1
0
        public void AddBindingBlurb(string bindingKey, bool chained)
        {
            BindingTemplate binding = new BindingTemplate(bindingKey);

            binding.Get();

            string text    = (null != binding.AccessPoint ? binding.AccessPoint.Value : Localization.GetString("HEADING_BINDING"));
            string tooltip = Localization.GetString("HEADING_BINDING");
            string url     = root;

            if (BreadCrumbType.Edit == type)
            {
                url += "/edit/editbinding.aspx?refreshExplorer=&key=";
            }
            else
            {
                url += "/details/bindingdetail.aspx?search=" + Request["search"] + "&key=";
            }

            url += bindingKey + "&frames=" + frames.ToString().ToLower();

            AddServiceBlurb(binding.ServiceKey, true);

            if (chained)
            {
                AddBlurb(text, url, null, tooltip, true);
            }
            else
            {
                AddBlurb(text, null, "binding.gif", tooltip, false);
            }
        }