HomeCommunityControl GalleryForm ControlsDrop DownsCollapsable Panel

Collapsable Panel



(1) Submit a Review

3,408 Downloads

38,284 Views


Description

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.

Syntax Example

<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> </ew:CollapsablePanel>

Reviews

Submit a review

hftfth

Reviewed by: crifistian on Friday, September 21, 2007

4 Stars

ffth