Solved

Display and visibility

Posted on 2014-10-03
3
54 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

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

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
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).

864 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

19 Experts available now in Live!

Get 1:1 Help Now