2014-02-10 53 views
1

可以在asp.net中的Ajax日曆控件中顯示時間嗎?我有一個text-box它填充日曆控件,但我想顯示日曆控件應顯示日期和時間。任何人都可以提示我嗎?帶日期和時間的日曆控件?

+0

嘗試使用.... [jquery日期時間選擇器](http://plugins.jquery.com/datetimepicker/) –

+0

http://www.ama3.com/anytime/ –

+0

http://mugifly.github .IO/jQuery的簡單的DateTimePicker / –

回答

0

您可以使用Date and time picker

<ASP:TextBox runat="server" ID="txtDate"></ASP:TextBox> 

<obout:Calendar runat="server" 
         ShowTimeSelector="true" 
         DateFormat="MM/dd/yyyy hh:mm:ss" 
         DatePickerMode="true" 
         TextBoxId="txtDate"> 
</obout:Calendar>  

ASP.NET Calendar - Date and time picker