Hi,
I am using the WebExplorerBar for navigation in my website and I am following the sample http://samples.infragistics.com/2010.1/WebFeatureBrowser/WebExplorerBar/WebExplorerBarScenario.aspx. but here the target is iframe. all the pages from my navigation menu will be from the same website only, not any other website, so is there an alternative to iframe here and how can I link the menu item to display the page in a container within the page? thanks in advance.
Hello RK,Depending on your site's structure, different approaches can be used. Perhaps the easiest way is to add WebExplorerBar to your Master Page and set the NavigateUrl property to some .aspx page (no need to set the Target property). The aspx content will be automatically loaded in the content place holder.Regards,Nikolai Dimitrov
I tried this already, but the webexplorerbar collapses to the root node everytime I navigate to a different page, how to maintain the state of the webexplorerbar when navigating through the site? so I reverted back to iframe. iframe option also has another issue. if page load is taking sometime, it is not clear to the user if the page is loading or nothing is happening. I am thinking of a gif image in the background, but not sure how to do. if I can maintain the state of the menu with master pages, that option can be used.
thanks. I don't want the whole menu tree to expand. I want to maintain the state of the menu as it was before navigating to different page. I found an example in these forums itself to maintain the list of nodes expanded in session state. I think this complicates the simple task of navigation. so I am sticking to iframe technique even though Iframe is geneally seen by many as a bad design. to get the status bar or image when loading the page in iframe, I am using a javascript function to load the page instead of setting the navigate url on the menu item. this way it is displaying a status bar in the browser when loading the page which is sufficient for my purpose. thanks for the tips about updatePanel and ajaxStart.
You can set WebExplorerBar's GroupExpandBehavior to AnyExpandable. This way the all the groups will be rendered expanded.If you want to add a gif image when loading, you can use UpdatePanel and UpdateProgress. Another approach is using JQuery's ajaxStart and ajaxStop functions.Regards,Nikolai Dimitrov