ExpandedImage and CollapsedImage not displaying when load

Posted on 2010-01-08
Last Modified: 2012-05-08
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
<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" 


            Collapsed="True" SuppressPostBack="true">



.collapsePanel {

      width: 200px;



      font-family: Georgia, "Times New Roman", Times, serif;

	  font-size: 13px;

	  color: #666666;






	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;



Open in new window

Question by:COHFL
    LVL 5

    Accepted Solution

    Do you have the label set?

    Author Comment

    lol i set the label but the image still does not came up.
    I see the text but not the image

    Author Comment

    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 =)

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now