Completed
Last Updated: 23 Apr 2020 16:11 by ADMIN
Release R2 2020 (LIB 2020.1.423)
Patrick
Created on: 06 Apr 2020 10:14
Category: BreadCrumb
Type: Bug Report
0
RadBreadCrumb: Hidden treeview-node is shown in breadcrumb

Hello,

 

I've got a treeview where one of the main nodes is hidden (visible=false), but this item is still shown in the linked breadcrumb.

Is there a way to hide this node in the breadcrumb?

 

Best regards

Patrick Vossen

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 08 Apr 2020 12:52

Hello, Patrick,  

Indeed, the hidden nodes from RadTreeView are visible in RadBreadCrumb

 

I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to hide the drop down item that is associated with the hidden node: 

        public RadForm1()
        {
            InitializeComponent(); 
            this.radBreadCrumb1.DefaultTreeView = this.radTreeView1; 
            this.radBreadCrumb1.SplitButtonCreated+=radBreadCrumb1_SplitButtonCreated;
        }

        private void radBreadCrumb1_SplitButtonCreated(object sender, Telerik.WinControls.UI.BreadCrumb.SplitButtonCreatedEventArgs e)
        {
            foreach (RadTreeNode n in e.AssociatedTreeNode.Nodes)
            {
                if (n.Visible==false)
                {
                    e.SplitButtonElement.Items[n.Index].Visibility = ElementVisibility.Collapsed;
                }
            }
        }
I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.