Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Here in my application i want timepicker control .So that i have used Ajaxified TimePicker,which working properly on my PC but after publishing not working client pc.It shows only images of timepicker.

Please help me.

What I have tried:

<%@ Register TagPrefix="Ajaxified" Assembly="Ajaxified" Namespace="Ajaxified" %>



<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
   </asp:ToolkitScriptManager>


<asp:TextBox ID="txtTo" runat="server" Text=""  class="autosuggest"></asp:TextBox>
                        <Ajaxified:TimePicker ID="TimePicker1" runat="server" TargetControlID="txtTo" CloseOnSelection="true" MinuteStep="15">
                        </Ajaxified:TimePicker><br />
Posted
Updated 25-Oct-18 10:30am

1 solution

Might be a browser compatible issue I would prefer using Jquery which is much more simple

You can find the Demo here Datepicker | jQuery UI[^]

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>jQuery UI Datepicker - Restrict date range</title>
  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
  <link rel="stylesheet" href="/resources/demos/style.css">
  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  <script>
  $( function() {
    $( "#datepicker" ).datepicker({ minDate: -20, maxDate: "+1M +10D" });
  } );
  </script>
</head>
<body>
 
<p>Date: <input type="text" id="datepicker"></p>
 
 
</body>
</html>
 
Share this answer
 
v2
Comments
SujataJK 26-Oct-18 0:40am    
thanks @Zameer Hussain.

But Here i want Time Picker to fill timesheet in my application.So i want timepicker of interval 15 or 30 minutes.
SujataJK 31-Oct-18 4:46am    
Please help me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900