ASP.NET DateTime Picker

前端 未结 11 1422
一个人的身影
一个人的身影 2020-11-27 18:35

is there any good free/open source time picker control that goes well with ASP.NET Calendar control?

相关标签:
11条回答
  • 2020-11-27 19:06

    Since it's the only one I've used, I would suggest the CalendarExtender from http://www.ajaxcontroltoolkit.com/

    0 讨论(0)
  • 2020-11-27 19:08

    There is an easy, out of the box implementation: the HTML 5 input type="date" and the other date-related input types.

    Okay, you can't style the controls that much and it doesn't work on every browser, but still it can be a very good option in the long term if all modern browsers support it and don't want to include heavy libraries that don't always work that good on mobile devices.

    0 讨论(0)
  • 2020-11-27 19:08
    <asp:TextBox ID="TextBox1" runat="server" placeholder="mm/dd/yyyy" Textmode="Date" ReadOnly = "false"></asp:TextBox>
    <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
    
    0 讨论(0)
  • 2020-11-27 19:08
    @Html.EditorFor(model => model.Date, new { htmlAttributes = new { @class = "form-control", @type = "date" } })
    

    this works well

    0 讨论(0)
  • 2020-11-27 19:13

    Basic Date Picker Lite

    This is the free version of their flagship product, but it contains a date and time picker native for asp.net.

    0 讨论(0)
提交回复
热议问题