Solved

ASP Calendar gets cut off when rendered!

Posted on 2011-03-08
2
458 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

20 Experts available now in Live!

Get 1:1 Help Now