Solved

ASP Calendar gets cut off when rendered!

Posted on 2011-03-08
2
445 Views
Last Modified: 2012-05-11
When the asp calendar get rendered, part of it is cut off by the AJAX combobox below it.  Please see attached screen print.  Any ideas why this is happening and how I can fix this problem?

 screen print of cut off calendar
0
Comment
Question by:paradigm_IS
2 Comments
 
LVL 6

Accepted Solution

by:
kswathi earned 500 total points
ID: 35079365
Set Z-index of the calender more than the ajax combo box.
0
 
LVL 9

Expert Comment

by:mayank_joshi
ID: 35079480
e.g.,

<asp:Calendar ID="Calendar1" runat="server" CssClass="class1"></asp:Calendar>

where class1 is defined as :-

.class1
{
position:absolute;
left:200px;
top:0px;
z-index:100;
}

The z-index property specifies the stack order of an element.

An element with greater stack order is always in front of an element with a lower stack order.

Note: z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

14 Experts available now in Live!

Get 1:1 Help Now