Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Adding Grand Child in Web Explorer Bar through cs code
posted

I want to add grand child in web explorer bar through cs code,not through html

I have created group and add items to them but i want to add sub items(grand child)

Can some one please guide me that how can I add sub child(grand child) in web explorer bar?

Here is my code

ExplorerBarGroup group = new ExplorerBarGroup();

group.Text = "Drives";
this.WebExplorerBar1.Groups.Add(group);
item = new ExplorerBarItem();
item.Text = "C:";
group.Items.Add(item);
item = new ExplorerBarItem();
item.Text = "D:";