I am using a WebExplorerBar on a MasterPage to navigation amongs webpages in my site. When I navigate to a new page, the explorerbar does not postback with the previous item being selected.
I have looked at the solution provided by Valerie on 10-28-2010 (http://community.infragistics.com/forums/p/47906/255212.aspx), and while this works great if you only have a menu with 2 levels (ExplorerBarGroup and ExplorerBarItem). I actually have 3 levels, being loaded from an XML datasource, the first being the ExplorerBarGroup and 2 levels which are ExplorerBarItems. When trying to use the sample provided in the above link, the prerender event does not allow for a extra level when a submenu is being used.
if I was able to check to see if the parent of the selected item was infact the ExplorerBarGroup, I would be able to determine if this item is the 2nd or 3rd level, for example:
if (e.NewSelectedItem.ParentItem.IsExplorerBarGroup() != true )
Unfortunately, the above code does not work. Can anyone provide me with another way of getting this information?
Hello Loretta,
Thank you for posting in our forum. I am glad to know that you were able to resolve your issue. For any further assistance please do not hesitate to contact us.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
I have just managed to find a solution, by evaluating the level of the selected items.