ASP.NET DateTime Picker [英] ASP.NET DateTime Picker
本文介绍了ASP.NET DateTime Picker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
JQuery有一个很好的免费/开源时间选择器控件拥有最好的 datepicker IMHO。虽然它不是具体的.Net仍然很好。
HTML:
< input type =textvalue =9/23/2009style =width:100px; readonly =readonlyname =Dateid =Dateclass =hasDatepicker/>
在头元素中:
< script src =../../ Scripts / jquery-1.3.2.min.jslanguage =javascripttype =text / javascript/>
< script src =../../ Scripts / jquery-ui-1.7.1.custom.min.jstype =text / javascript/>
简单如此!
is there any good free/open source time picker control that goes well with ASP.NET Calendar control?
解决方案
JQuery has the best datepicker IMHO. While it's not specific to .Net is still works great.
HTML:
<input type="text" value="9/23/2009" style="width: 100px;" readonly="readonly" name="Date" id="Date" class="hasDatepicker"/>
In head element:
<script src="../../Scripts/jquery-1.3.2.min.js" language="javascript" type="text/javascript"/>
<script src="../../Scripts/jquery-ui-1.7.1.custom.min.js" type="text/javascript"/>
Simple as that!
这篇关于ASP.NET DateTime Picker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文