ExpandedImage and CollapsedImage not displaying when load

Hi there,
I have a page that has a CollapsiblePanel that has not text on it as of yet. When i set it up to display images in the following properties ExpandedImage="images/collapse_blue.jpg" CollapsedImage="images/expand_blue.jpg" nothing actually happens.
my question here is how do i get to display the text and the image on the header portion?
below is my code
Thanks,
Cohfl
<asp:Panel ID="PnlTitle" runat="server" CssClass="collapsePanelHeader"/>
                <asp:Panel ID="PnlContent" runat="server" CssClass="collapsePanel"/>
        
                <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" 
            runat="server" TargetControlID="PnlContent" ExpandControlID="PnlTitle" 
            CollapseControlID="PnlTitle" TextLabelID="Label1" 
            CollapsedText="Show Details (...)" ExpandedText="Hide Details (...)" 
            ImageControlID="Image1" ExpandedImage="images/collapse_blue.jpg" 
            CollapsedImage="images/expand_blue.jpg"
            Collapsed="True" SuppressPostBack="true">
        </cc1:CollapsiblePanelExtender>

css

.collapsePanel {
      width: 200px;
      height:0px;
      background-color:white;
      font-family: Georgia, "Times New Roman", Times, serif;
	  font-size: 13px;
	  color: #666666;
      position:relative;
}
 
.collapsePanelHeader
{
	width: 200px;
	height: 20px;
	background-color: #0066CC;
	font-weight: bold;
	float: none;
	padding: 5px;
	cursor: pointer;
	vertical-align: middle;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 13px;
	color: #666666;
	position:relative;
}

Open in new window

COHFLAsked:
Who is Participating?
 
Greg GambleProgrammerCommented:
Do you have the label set?
0
 
COHFLAuthor Commented:
lol i set the label but the image still does not came up.
I see the text but not the image
0
 
COHFLAuthor Commented:
ok i really feel dumb =(
or it is probably time to stop working for today becasue i totally by pass that i need the label and the image control for them to display.
Thanks bmxer to point me to the right direction =)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.