Showing posts with label CollapsiblePanelExtender. Show all posts
Showing posts with label CollapsiblePanelExtender. Show all posts

Saturday, August 17, 2013

How to use Ajax CollapsiblePanelExtender control on Asp.net OR Ajax CollapsiblePanelExtender control Example

Introduction: In this article I will try to explain how we can use the Ajax CollapsiblePanelExtender in Asp.net.

Description:

 We use CollapsiblePanelExtender to create collapsible panel i.e. click on down arrow panel will expand and click on up arrow will collapse automatically. CollapsiblePanelExtender Properties:

TargetControlID: Panel ID to expand and collapse
CollapseControlID: ID used to collapse on click
ExpandControlID: ID used to expand on click
CollapsedImage: path of image used by ImageControlID when the panel is collasped
ExpandedImage:  path of image used by ImageControlID when the panel is expand
TextLabelID: ID of the label where STATUS TEXT for the panel will be placed.
CollapsedText: text to show in control specified by TextLabelID when panel is collapsed
ExpandedText: text to show in control specified by TextLabelID when panel is expand
Collapsed: specifies that object should initially be colasped or expanded
ImageControlID: ID of image control where icon indicating the collapsed status of the panel. Extender will replace the image source with CollapsedImage and ExpandedImage.
AutoCollapse: automatically collaspe when mouse is moved over the panel. Automatically it’s true
AutoExpand: automatically expand when mouse is moved over the panel. Automatically it’s true