asp.net中的Ajax日历问题 [英] Ajax Calendar Issue in asp.net

查看:74
本文介绍了asp.net中的Ajax日历问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在使用bootstrap主题,

在ASP.NET页面我有一个转发器,其中我'绑定Web用户控件,



在Web用户控件中,我有一个带AjaxCalendarExtender的文本框。



问题是:

日历没有显示'星期四,星期五和星期六'天。



网络用户控制代码:

Hi guys,

i'm using bootstrap theme,
where in ASP.NET page i have a repeater in which i'm binding Web User Control,

In the web user control i have one textbox with AjaxCalendarExtender.

The issue is:
The calendar is not displaying 'Thu, Fri n Sat' days.

code of web user control:

<table>
<tr>
   <td>
            Issue Date
        </td>
        <td>
         <asp:TextBox ID="txtppisdate" CssClass="input-large" runat="server"></asp:TextBox>
                     
        <asp:CalendarExtender ID="CalendarExtender2" runat="server"
                         PopupButtonID="lbnppisdate" TargetControlID="txtppisdate">
                        </asp:CalendarExtender></td>
    </tr>





asp.net代码的转发器,我放置这个网络用户控件



asp.net code of repeater, where i'm placing this web user control

<asp:UpdatePanel ID="UpdatePanel2" runat="server">
                       <ContentTemplate>
                           <asp:Repeater ID="Repeater1" runat="server">
                               <HeaderTemplate>
                                   <table class="table table-bordered">
                                       <thead class="color-1">
                                           <tr>
                                               <th>
                                                   S.No#
                                               </th>
                                               <th>
                                                   Details
                                               </th>
                                           </tr>
                                       </thead>
                                       <tbody>
                               </HeaderTemplate>
                               <ItemTemplate>
                                   <tr id="itemrow">
                                       <td valign="middle" style="width: 50px">
                                           
                                               <%# Container.ItemIndex + 1 %>
                                           
                                       </td>
                                       <td>
                                           <uc1:FamilyPassport ID="FamilyPassport1"  runat="server" />
                                       </td>
                                   </tr>
                               </ItemTemplate>
                               <FooterTemplate>
                                   </tbody> </table>
                               </FooterTemplate>
                           </asp:Repeater>
                       </ContentTemplate>
                   </asp:UpdatePanel>



任何人都可以帮助我,



谢谢


Can anyone plzzz help me,

Thanks

推荐答案

我的猜测是你有一些CSS乱搞东西,以便它们不可见。如果您使用所使用的任何浏览器的开发人员工具,您应该能够跟踪导致问题的CSS。可能是你自己正在覆盖某些东西。
My guess is you have some CSS messing things up so that they aren't visible. If you use the developer tools of whatever browser you are using you should be able to trace which CSS is causing the issue. It may be that your own is overwriting something.


这篇关于asp.net中的Ajax日历问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆