<bdo id='gT94X'></bdo><ul id='gT94X'></ul>
    <i id='gT94X'><tr id='gT94X'><dt id='gT94X'><q id='gT94X'><span id='gT94X'><b id='gT94X'><form id='gT94X'><ins id='gT94X'></ins><ul id='gT94X'></ul><sub id='gT94X'></sub></form><legend id='gT94X'></legend><bdo id='gT94X'><pre id='gT94X'><center id='gT94X'></center></pre></bdo></b><th id='gT94X'></th></span></q></dt></tr></i><div id='gT94X'><tfoot id='gT94X'></tfoot><dl id='gT94X'><fieldset id='gT94X'></fieldset></dl></div>
    <tfoot id='gT94X'></tfoot>

    1. <small id='gT94X'></small><noframes id='gT94X'>

        <legend id='gT94X'><style id='gT94X'><dir id='gT94X'><q id='gT94X'></q></dir></style></legend>
      1. Ajax 日历扩展器结束日期

        时间:2023-08-26
        <legend id='bJKW0'><style id='bJKW0'><dir id='bJKW0'><q id='bJKW0'></q></dir></style></legend>

        1. <tfoot id='bJKW0'></tfoot>
        2. <small id='bJKW0'></small><noframes id='bJKW0'>

            <bdo id='bJKW0'></bdo><ul id='bJKW0'></ul>

                  <tbody id='bJKW0'></tbody>
                1. <i id='bJKW0'><tr id='bJKW0'><dt id='bJKW0'><q id='bJKW0'><span id='bJKW0'><b id='bJKW0'><form id='bJKW0'><ins id='bJKW0'></ins><ul id='bJKW0'></ul><sub id='bJKW0'></sub></form><legend id='bJKW0'></legend><bdo id='bJKW0'><pre id='bJKW0'><center id='bJKW0'></center></pre></bdo></b><th id='bJKW0'></th></span></q></dt></tr></i><div id='bJKW0'><tfoot id='bJKW0'></tfoot><dl id='bJKW0'><fieldset id='bJKW0'></fieldset></dl></div>
                  本文介绍了Ajax 日历扩展器结束日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在为从日期"和到日期"文本框使用 ajax 日历扩展器,我必须禁用到上一个日期或小于所选从日期"的日期.我可以看到许多使用 范围验证 的帖子.如何在不向用户发送任何消息的情况下禁用日期?

                  I am using ajax calendar extender for 'From date' and 'To date' text box, I have to disable To date previous date or dates lesser than selected 'From date'. I can see many posts using range validation. How I can disable the dates without any message to user?

                  推荐答案

                  先添加.dll - RJS.Web.WebControl.PopCalendar.Net.2008.dll

                  然后添加源代码:

                  <asp:TextBox ID="DepartureDate" runat="server"></asp:TextBox>
                  &nbsp;&nbsp;&nbsp;
                        <rjs:PopCalendar ID="PopCalendar1" runat="server" Control="DepartureDate" 
                              Format="mm dd yyyy" 
                              InvalidDateMessage="The date value entered is invalid." RequiredDate="True" 
                              RequiredDateMessage="You must enter a date value." From-Date="" SelectWeekend="True" 
                  
                              />
                      <br />
                      <br />
                      <br />
                      <asp:TextBox ID="ReturnDate" runat="server"></asp:TextBox>
                  &nbsp;&nbsp;&nbsp;&nbsp;
                       <rjs:PopCalendar ID="myReturnCal" runat="server" Control="ReturnDate" 
                              Format="mm dd yyyy" 
                              InvalidDateMessage="The date value entered is invalid." RequiredDate="True" 
                              RequiredDateMessage="You must enter a date value." 
                              From-Control="DepartureDate" From-Date="" From-Increment="1" 
                              />
                      <br />
                        <asp:Label ID="Results" runat="server"></asp:Label>
                          <rjs:PopCalendarMessageContainer ID="PopCalMessagesForDeparture" runat="server" 
                              Calendar="myDepartureCal" />
                          <rjs:PopCalendarMessageContainer ID="PopCalMessagesForReturn" runat="server" 
                              Calendar="myReturnCal" />
                  

                  这篇关于Ajax 日历扩展器结束日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:自定义日历的 DateTimePicker 下一篇:“静态链接"和“动态链接"是什么意思?

                  相关文章

                  最新文章

                2. <small id='oK09N'></small><noframes id='oK09N'>

                3. <tfoot id='oK09N'></tfoot>

                    <bdo id='oK09N'></bdo><ul id='oK09N'></ul>
                4. <legend id='oK09N'><style id='oK09N'><dir id='oK09N'><q id='oK09N'></q></dir></style></legend>

                  1. <i id='oK09N'><tr id='oK09N'><dt id='oK09N'><q id='oK09N'><span id='oK09N'><b id='oK09N'><form id='oK09N'><ins id='oK09N'></ins><ul id='oK09N'></ul><sub id='oK09N'></sub></form><legend id='oK09N'></legend><bdo id='oK09N'><pre id='oK09N'><center id='oK09N'></center></pre></bdo></b><th id='oK09N'></th></span></q></dt></tr></i><div id='oK09N'><tfoot id='oK09N'></tfoot><dl id='oK09N'><fieldset id='oK09N'></fieldset></dl></div>