By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,647 Members | 1,598 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,647 IT Pros & Developers. It's quick & easy.

Control opens over another

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.