Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
How to call MasterPage WebExplorerBar to child Page
posted

I have WebExplorerBar on MasterPage(MP.master),set NavigateUrlField="Child.aspx" for WebExplorerBarItems.I am using this MP.master in default .aspx page.

When i run application,click on WebExplorerBarItem on default.aspx ,it display child.aspx ,but   ExplorerBarGroup collapsed as page is refresh.

I want to keep expanded ExplorerBarGroup for WebExplorerBarItem click.How can i solve this problem?Can i get MasterPage WebExplorerBar to child Page ?

 

Parents
No Data
Reply
  • 695
    posted

    Hello,

    if you want to get a reference to WebExplorerBar in a child page, you can try the following code:

    WebExplorerBar explorerBar = (WebExplorerBar)Master.FindControl("WebExplorerBar1");

    The namespace of  WebExplorerBar is Infragistics.Web.UI.NavigationControls.

    For navigating with the explorer bar,  you need to set the ExplorerBarItem’s Target property. 

    Regards,
    Nikolai Dimitrov

Children
No Data