Solved

ASP Calendar gets cut off when rendered!

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
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.

749 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