Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I want to put a clock and select the time and want to put it in start time and and time textboxes. how to do it. please help
Posted
Comments

Hi,

If you're just looking for a time picker control, have a look at this ASP.NET 4.0 TimePicker User Control[^]

... hope it helps.
 
Share this answer
 
Comments
Member 10578683 18-Mar-15 7:44am    
I am not understanding how will I register the assembly of time picker
hypermellow 18-Mar-15 8:11am    
Hi, I'm not the author of that article ... but I've downloaded the sample project, then added/imported the user control (TimeExtender.ascx) into a new asp.net project.

I then added the following controls to a new aspx page
1)ScriptManager
2)UpdatePanel
3)TextBox

I then registered the UserControl on my page:
<%@ Register src="ctl/TimeExtender.ascx" tagname="TimeExtender" tagprefix="uc1" %>

... then added the UserControl to the page:
<uc1:TimeExtender ID="TimeExtender1" runat="server" TargetControlID="txtStartTime" />

... hope it helps.
Read and explore this jQuery Timepicker[^]
 
Share this answer
 

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