我在项目中使用压延剂.但是压延机的设计存在一些问题.
下面是我的代码和我得到的输出设计.
<td align="right">
From Date:
<asp:TextBox ID="txtDocStartDate" runat="server" CssClass="TextBox100" ></asp:TextBox>
<asp:CalendarExtender ID="CaltxtDocStart" runat="server" TargetControlID="txtDocStartDate">
</asp:CalendarExtender>
</td>
设计:
我没有得到适当的设计,可能是什么问题?
可能是因为您尚未将cssClass应用于日历控件.
检查一下,并应用适当的CSS进行日历控制
http://www.ezineasp.net/post/ASP-Net-Custom-Calendar-Control-using-CSS-styles.aspx
I am using calender extender in my project. But there is some problem in the design of calender extender.
Below is my code and the output design i got.
<td align="right">
From Date:
<asp:TextBox ID="txtDocStartDate" runat="server" CssClass="TextBox100" ></asp:TextBox>
<asp:CalendarExtender ID="CaltxtDocStart" runat="server" TargetControlID="txtDocStartDate">
</asp:CalendarExtender>
</td>
Design:
What may be the problem i am not getting proper design?
May be it's because of you have not applied cssClass for calendar control.
check out this and apply proper css for calendar control
http://www.ezineasp.net/post/ASP-Net-Custom-Calendar-Control-using-CSS-styles.aspx
本人是.net程序员,因为英语不行,使用工具翻译,希望对有需要的人有所帮助
如果本文质量不好,还请谅解,毕竟这些操作还是比较费时的,英语较好的可以看原文