.net c#压延剂不起作用

Calender extender not working
2021-02-23
  •  译文(汉语)
  •  原文(英语)

我在项目中使用压延剂.但是压延机的设计存在一些问题.

下面是我的代码和我得到的输出设计.

<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>

设计:

压延剂不起作用

我没有得到适当的设计,可能是什么问题?

速聊1:
需要帮助的人仍然坚持
解决过程1

可能是因为您尚未将cssClass应用于日历控件.

检查一下,并应用适当的CSS进行日历控制

http://www.ezineasp.net/post/ASP-Net-Custom-Calendar-Control-using-CSS-styles.aspx

速聊1:
是否需要将CSS用于Ajax扩展控制工具包?
速聊2:
不必应用css类,但日历控件的父元素具有apply类,并且可能会影响日历设计.所以我建议将css类应用于日历或尝试删除父元素css类并检查结果
速聊3:
我很好,我来试试看

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:

Calender extender not working

What may be the problem i am not getting proper design?

Talk1:
Need a help m still stuck with it
Solutions1

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

Talk1:
Is there a need to apply css for ajax extension control toolkit?
Talk2:
It's not necessary to apply css class but calendar control parent element has apply class and may be it's affect calendar design. So I suggest apply css class to calendar or try to remove parent element css class and check result
Talk3:
K fine let me give a try
转载于:https://stackoverflow.com/questions/23733069/calender-extender-not-working

本人是.net程序员,因为英语不行,使用工具翻译,希望对有需要的人有所帮助
如果本文质量不好,还请谅解,毕竟这些操作还是比较费时的,英语较好的可以看原文

留言回复
我们只提供高质量资源,素材,源码,坚持 下了就能用 原则,让客户花了钱觉得值
上班时间 : 周一至周五9:00-17:30 期待您的加入