Is it possible to have a webpanel expand down? By default, when the user clicks the expansion indicator, the webpanel collapses upwards. In a user control I'm working on, it would be great if the webpanel would snap down to the bottom of the page and the UltraWebGrid above it would fill the rest of the screen or all the empty space created when the webpanel collapses.
Can this be accomplished from javascript clientside code and if so could someone offer me any pointers?
You can get the WebPanel to collapse in the other direction if you were to fix it to the bottom by using absolute positioning. When doing so it is hard to also get the webgrid to adapt its size correctly as the panel expands and collapses. Instead I would use our WebSplitter control that was introduced in 2008 Volume 1 and use that to seperate the webgrid from a lower content area.
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
Orientation="Horizontal" Width="100%">
<panes>
<cc1:SplitterPane runat="server">
<Template>
Width="100%">
</Template>
</cc1:SplitterPane>
<cc1:SplitterPane runat="server" CollapsedDirection="NextPane" Size="200px">
stuff
</panes>
</cc1:WebSplitter>