I am using the webexplorerbar as my menu on a master page, which is loading from an xml file
My issue is that if the user clicks the last displayed item (Level 1), the menu expands, but the user has to scroll down to see the explanded list (of level 2 items):
http://samples.infragistics.com/aspnet/Samples/WebExplorerBar/Display/ClientAPI/Default.aspx?cn=explorer-bar&sid=dae3fc67-3b5a-4872-8ed2-7b4b2b36ab9a
Is there a way of programatically scrolling the list down so that the expanded list is displayed, or at least some of it is displayed?
Hello lorettac242,
I am looking into this matter of programmatically scrolling the list so the newly expanded items are displayed.
I will give you a progress update by the end of the day Wednesday.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Hello loretta242,
I have created and attached a sample to demonstrate how to achieve this. Using the client side ItemExpanded event of the WebExplorerBar I gain access to the child items of the group that was expanded and get the anchor element of the last child. After you have the anchor element you can use focus or scrollIntoView to show the newly expanded items.
Please let me know if you have any questions concerning this matter.