Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP Calendar gets cut off when rendered!

Posted on 2011-03-08
2
Medium Priority
?
499 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

879 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