asp.net web user controls

R

Robert Bull

I have created a web user control that consists of a text box with a
button beside it. When the user clicks the button, the calendar
control drops down from the text box for a date selection. I have a
situation where I want the user to select 2 different date parameters,
so I have created one user control above another. When I run the app
and try to select a date from the first user control, the calendar
drops down fine, but it shows up behind the other user control. It
doesn't matter what type of control I create underneath the user
control, the calendar always shows behind the control. Does any one
have a solution...? Thanks in advance.

-Rob
 
M

Matt Hawley

You'll need to set the z-index to something higher than the controls beneath them. Also note that this method will NOT work for Drop Down Lists or List Boxes, as those are Windowed controls.

Matt Hawley, MCAD .NET http://www.eworldui.net I have created a web user control that consists of a text box with a
button beside it. When the user clicks the button, the calendar
control drops down from the text box for a date selection. I have a
situation where I want the user to select 2 different date parameters,
so I have created one user control above another. When I run the app
and try to select a date from the first user control, the calendar
drops down fine, but it shows up behind the other user control. It
doesn't matter what type of control I create underneath the user
control, the calendar always shows behind the control. Does any one
have a solution...? Thanks in advance.

-Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top