<script type="text/javascript">
$(document).ready(function () {
$(function () {
$("#<%= tbTime.ClientID %>").datetimepicker({
format: 'LT'
});
});
})
</script>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<div class='input-group date' id='datetimepicdker3'>
<asp:TextBox ID="tbTime" Width="300" runat="server" class="form-control input-sm"></asp:TextBox>
</ContentTemplate>
</UpdatePanel>
这工作正常,但提交后,datetimepicker未显示