Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

ExpandedImage and CollapsedImage not displaying when load

Posted on 2010-01-08
3
Medium Priority
?
551 Views
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
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

0
Comment
Question by:COHFL
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Greg Gamble earned 1000 total points
ID: 26239536
Do you have the label set?
0
 

Author Comment

by:COHFL
ID: 26240321
lol i set the label but the image still does not came up.
I see the text but not the image
0
 

Author Comment

by:COHFL
ID: 26243197
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Screencast - Getting to Know the Pipeline
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

580 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