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:";
Hello Zeshan,
I am glad that you find my suggestion helpful and were able to solve your issue.
According to our support policy, we handle support cases either via threads in this forum or support cases in our system only. This helps us ensure that you queries are responded with the corresponding timeframe for your support service level.
Additionally, we handle single issue per support case. Every new query requires a new case to be created. This helps us keep track of your issues and ensures that every question is addressed correctly.
Thank you for using Infragistics components.
Regards, Monika Kirkova, Infragistics
Thanks a lot MonikaI have never seen this kind of supportYou helped me a lot,I have achieved my target now but in future if I need more help I would prefer to get support from youCan you please create a private case so in future I may ask for my query directly?
By using the following lines of code the item “D:” is added to the group “Drives”, “Documents” is added as a sub item to the item “D:” and “WebExplorerBar” is added as a sub item to “Documents”.
item = new ExplorerBarItem();
item.Text = "D:";
subItem = new ExplorerBarItem();
subItem.Text = "Documents";
ExplorerBarItem subSubItem = new ExplorerBarItem();
subSubItem.Text = "WebExplorerBar";
subItem.Items.Add(subSubItem);
item.Items.Add(subItem);
group.Items.Add(item);
The items hierarchy will look like the following:
D
Documents
WebExplorerBar
If this is not an accurate demonstration of what you are trying to achieve could you please share a screenshot of your requirement.
According to our support policy, we handle support cases either via threads in this forum or support cases in our system. I could create a private case for you and continue assisting you via this case if you`d prefer our communication to be private.
Looking forward to hearing from you.
Can you please email me to discuss the issue?
zeshanchaudhary2772@gmail.com
Thanks MonikaI want to add sub child in hierarchy levelPlease guide me about this