Some help please! Pat
Hello,
Thank you for posting in our community.
In order to navigate to the selected item you have do it on the client-side with JavaScript inside the WebExplorarTab's Initialize event handler:
...... <ig:WebExplorerBar ID="web" runat="server" Width="300px"> <ClientEvents Initialize="selectionNavigate" /> <Groups> ......
function selectionNavigate(sender, eventArgs) { var selectedItem = sender.get_selectedItem(); if (selectedItem) document.getElementById("frame").contentDocument.location.href = selectedItem.get_anchorElement().getAttribute('href'); }
If there is a previous selected item, it has to be deselected and additionally a CSS class has to be added which will clear the active state of that item:
Dim prevSelectedItem = WebExplorerBar.SelectedItem If prevSelectedItem IsNot Nothing Then prevSelectedItem.ActiveCssClass = "none" prevSelectedItem.Selected = False End If WebExplorerBar.Groups(1).Items.Last().Selected = True
I have attached a sample for your reference. Let me know if that solves your issue.
4477.Sample.zip