||April 16, 2003
||September 21, 2007
Collapsable Panel is a very easy to use control that allows a developer to create collapsable content blocks on their website with ease. This control extends and enhances the Panel control by adding a Title row with an appropriate link or image for collapsing or expanding the content.
The title row is completely style-able, and you have the option to choose to display text or an image for the action item that expands and collapses the content. Adding other controls is as simple as adding controls to a panel.
This control was built with IE 5+ and Netscape 6+ in mind. If a client uses a browser that isn't supported, they will have the same content and title, but the panel will not be collapsable.
<ew:CollapsablePanel id="Collapsablepanel2" runat="server" ExpandImageUrl="~/images/expand.gif" CollapseImageUrl="~/images/collapse.gif" TitleText="Collapsable Panel with Images:" TitleStyle-BackColor="#ffffcc">
<asp:Label id="Label2" runat="server">It can contain controls:</asp:Label>
<asp:TextBox id="Textbox2" runat="server"></asp:TextBox>
<asp:Button id="Button2" runat="server" Text="Submit!"></asp:Button>
Submit a review
Reviewed by: crifistian on Friday, September 21, 2007