473,471 Members | 2,075 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Control opens over another

Hi,

I have a user control that have a textbox, a imagebutton and a calendar
control's. No hard to see that this usercontrol is a calendar.
What happens is that when I click in imagebutton teh calendar opens. The
problem is that sometimes this calendar opens above another control present
in the same page. How can I avoid this and opens all the times calendar over
any other control?

--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
Nov 19 '05 #1
2 1111
I might suggest setting the Z-order of the calendar higher than the controls
is overlays and possibly setting those controls to invisible. When the date
changes on the calendar you can set it to invisible and restore the
visibility of the controls it overlays.

You mention this is a user contol. This scheme may not work if you do not
know which controls are overlayed.

"ruca" wrote:
Hi,

I have a user control that have a textbox, a imagebutton and a calendar
control's. No hard to see that this usercontrol is a calendar.
What happens is that when I click in imagebutton teh calendar opens. The
problem is that sometimes this calendar opens above another control present
in the same page. How can I avoid this and opens all the times calendar over
any other control?

--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Nov 19 '05 #2
Thanks

"Ea******@HighFlyingBirds.com" wrote:
I might suggest setting the Z-order of the calendar higher than the controls
is overlays and possibly setting those controls to invisible. When the date
changes on the calendar you can set it to invisible and restore the
visibility of the controls it overlays.

You mention this is a user contol. This scheme may not work if you do not
know which controls are overlayed.

"ruca" wrote:
Hi,

I have a user control that have a textbox, a imagebutton and a calendar
control's. No hard to see that this usercontrol is a calendar.
What happens is that when I click in imagebutton teh calendar opens. The
problem is that sometimes this calendar opens above another control present
in the same page. How can I avoid this and opens all the times calendar over
any other control?

--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Roy | last post by:
Hi all, I need a control on another form gets focus as soon as another form is closed. Form A and B are not mdi forms and both have been instantiated from FormA and FormB class. I'm not sure if...
5
by: Georges Heinesch | last post by:
Hi. Is it possible to put a tab control inside another tab control. I tried it several times, but for some reason this doesn't seem to work. Can someone confirm this, or tell me what the trick...
5
by: Paul Mendez | last post by:
I am creating a form with a tab control containing 10 tabs. and what I want to do is on only on of the tabs, I want a sub section of tabs. So what it ends up being is one main tab control with...
7
by: Dave | last post by:
I have two forms, Form1 and Form2. From Form2, how do I reference the value in a control on Form1? Or perhaps a more specific question: Form1 contains a textbox with the value of 10. This form...
2
by: authorking | last post by:
How to access a control in another form and how to make a form become a MDI container.
6
by: Tom Rowton | last post by:
This one has me a bit confused and I'm not finding what I need in the MSDN or by searching these forums, so here goes... I have a rather large, complex code-in-page WebForm (don't ask) and a...
7
by: Sky | last post by:
What I have currently: I have a user control called mod_container.aspx that is basically two divs -- the top a toolbar, that expands/collapse the second div which can contain other...
1
by: John Stemper | last post by:
I'd like to have a validation control trigger another routine when the validation control returns invalid. The goal is to return focus to the control that fails the validation and clear any text...
3
by: qwerty | last post by:
I have two User controls in a page. Them ID-propertys are example UC1 and UC2. In code behind file they are declared: Public UC1 As UC1 Public UC1 As UC1 From the page I can call them with...
0
by: Perissos | last post by:
not sure which code you will need. I have an access 2007 database which opens an excel file to receive information. In the excel file I am trying to call an access function which will close the excel...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.