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?
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;}
Cool. I was going down the client suppresison route, just wanted to double-check to see if there was an easier way.
Thanks, and I think I will submit a request for that feature. It seems handy.