Solved

ASP Calendar gets cut off when rendered!

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

789 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