ASP.Net AJAX CollapsiblePanel Control using C#

AJAX CollapsiblePanel extender control provides the functioanlity to expand or collapse the targeted panel control. AJAX CollapsiblePanel control consumes two ASP.Net Panel controls. One Panel calls the expand/collapse function and second Panel performs the expand/collapse behavior. You can control the status text or image indication of CollapsiblePanel extender control using its different types of properties.

Properties of AJAX CollapsiblePanel Control

1. CollapseControlID

2. ExpandControlID

3. TargetControlID

4. TextLabelID

5. CollapsedText

6. ExpandedText

7. Collapsed

8. ExpandDirection

9. CollapsedSize

10. ExpandedSize

11. ScrollContents

12. AutoExpand/AutoCollapse

13. ImageControlID

14. CollapsedImage

15. ExpandedImage

You can learn the use of above properties from the tutorial of AJAX CollapsiblePanel control by following the link given at the bottom of this sample.

Try the sample below to understand the functionality of AJAX CollapsiblePanel control:

Click on Panel1 below to see the effect of AJAX Collapsible Panel Extender Control:

Panel1
Label

Panel2

Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text