Solved

Display and visibility

Posted on 2014-10-03
3
55 Views
Last Modified: 2014-10-24
I'm using the ASP calendar control. I show it when a button is clicked.   Currently when it shows, it cause other controls to move to make space.  I would like to display on top of the other controls and not take up additional space.  How can I do this?
0
Comment
Question by:HLRosenberger
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 40361560
You could put controls in divs, and apply CSS styles, like floating, but the specifics are difficult without your layout requirements.
0
 
LVL 28

Assisted Solution

by:Pravin Asar
Pravin Asar earned 250 total points
ID: 40372222
if you want this to appear at certain fixed position,

make position: absolute; z-index: 10;

z-index will make this display the control overlaid on  the existing controls

<asp:panel style="position: absolute; z-index: 10;">
<asp:calendar id="Calendar1" runat="server" CellPadding="4"
      BorderColor="#999999" Font-Names="Verdana" Font-Size="8pt"
      Height="180px" ForeColor="Black" DayNameFormat="FirstLetter"
      Width="200px" BackColor="White">
</asp:panel>
</asp:panel>
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 40401989
thanks.  the info help we work it out.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to prevent website from publishing with errors 9 46
Where did System.Data.Objects go? 2 23
asp enable view state 1 24
Sql server insert 13 28
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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