asp.net web user controls

  • Thread starter Thread starter Robert Bull
  • Start date Start date
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
 
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
 
Back
Top