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
380
suppress expand/collapse
posted

I would like to use WebPanel, but do not want the expand/collapse events triggered.  In other words, I do not want the panel to ever collapse.  I'm using WebPanel to get the border and header effect.  I don't see a property to suppress the collapse/expand events.  Is there another control I should be using to get the header and border or is there a property I'm not recognizing to suppress the events?

Parents
  • 45049
    Verified Answer
    posted

    I don't believe there's a single property that says whether or not you can collapse/expand a WebPane.  You can submit a feature request so that we might add such a property to a future release of the control.

    For now, you can use some client-side JavaScript to get the same effect.  Handle the ExpandedStateChanging client-side event of your WebPanel.  Your event handler should look similar to the following:

    function webPanel1_ExpandedStateChanging(oWebPanel, oEvent)
    {
        oEvent.cancel = true;
    }

Reply Children
No Data