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
235
Replacement for Expanded property
posted

I am attempting to replace the WebPanel with the WebExplorerBar control and I found this bit of code:

this.MasterPage.GridPanel.Expanded = false;

Therefore, what is the replacement for the Expanded property in the WebExplorerBar control?

Thanks.

  • 15320
    Suggested Answer
    Offline posted

    Hello Samir,

    You may expand the respective ExporerBarGroup by accessing it and calling the Expanded property like the following: WebExplorerBar1.Groups[0].Expanded=true

    If you're binding the WebExplorerBar on the server, then in order to expand the explorer items you may handle ItemBound server-side event and use something similar to: e.ExplorerBarItem.ParentItem.Expanded=true. Attached is a sample with similar scenario for your reference.

    Sincerely,

    Tsanna

    webExpandGroup.zip