2015-10-17 79 views
1

我正在使用z索引和位置:absoulte,即时无法显示日历控制comopletely。 sh partial不驯。由于它落后于按钮控制。附加的图像screen shot of design issue无法正常看到日历控制

<div align="center"> 
<table> 
<tr> 
<td align="right"> 
<asp:Label ID="Label1" runat="server" Text="User :" ></asp:Label> 
</td> 
<td> 
<asp:DropDownList ID="DDlUsers" runat="server" CausesValidation="true" AutoPostBack="false" Width="180px"> 
             </asp:DropDownList> 

</td> 
</tr> 
<tr> 
<td align="right"> 
<asp:Label ID="LblProject" runat="server" Text="Project :"></asp:Label> 
</td> 
<td> 
<asp:DropDownList ID="DdlProject" runat="server" Width="180px"></asp:DropDownList> 

</td> 
</tr> 
<tr> 
<td align="right"> 
<asp:Label ID="date" runat="server" Text="Date :"></asp:Label> 
</td> 
<td> 
    <asp:TextBox ID="txtDate" runat="server" Visible="True" ToolTip="hello" Width="180px"></asp:TextBox> 
    <asp:RequiredFieldValidator ID="rfvtxtdate" runat="server" ErrorMessage="Required" ControlToValidate="txtDate" ValidationGroup="validate" Display="Dynamic"></asp:RequiredFieldValidator> 
       <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDate"> 
        </cc1:CalendarExtender> 
       </td> 

</tr> 


</table> 
</div> 

<div> 
<asp:Button Style="z-index: 102; left: 580px; position: absolute; 
     top: 210px" Width="100px" ID="Button1" runat="server" Text="Search" 
     onclick="BtnSearch_Click" ValidationGroup="validate" /> </div> 

回答

2
you can apply different colors for both search button and calendarcontrol. 
0

我头脑从而解决了我的问题添加风格

<style type="text/css"> 
    .ajax__calendar_container { z-index : 1000 ; } 
</style>