TimePicker Updates
It’s been awhile, but I’ve finally got some updates released. You will find:
- the 24 hour mode works as expected now
- CSS has been altered to include positioning fixes for the colons in IE8 and FF 3.6
- issues have been addressed for problems that manifest themselves when there are multiple pickers on a page and you try to change focus and change time
Thanks!
Categories: .NET TimePicker, ASP.NET, ASP.NET TimePicker Control, c#
You cannot display an hour of 00 in 24 hour mode. Is there any chance of a fix for this?
I downloaded the source and found the problem:
Line 563 in file TimeSelector.cs reads
“if (Hour > 0)
output.AddAttribute(HtmlTextWriterAttribute.Value, getTimePartString(Hour, TimePartType.Hour));”
It should be “if (Hour >= 0)”
Rebuilt DLL tested and working.
Hi Michael,
I’m experiencing a problem using the TimePicker:
When I’m setting the Selected time format to TwentyFour and the Hour property to DateTime.Now.Hour + 1, it always converts to the PM time.
If I’m loading the control at 08:30AM for example, then the displayed time is 21:00 and not 09:00.
The code:
.ascx
.ascx.vb
tsFrom.Hour = (DateTime.Now.Hour + 1) Mod 24
tsFrom.Minute = 0
Besides that I have no complains. It is very intuitive control and easy to work with. Thank you very much for publishing it.
Best,
Assaf
There seems to be an issue trying to get it to accept midnight i.e. 12am.
SetTime(0, 0, MKB.TimePicker.TimeSelector.AmPmSpec.AM);
or
SetTime(12, 0, MKB.TimePicker.TimeSelector.AmPmSpec.AM);
both generate an “invalid datetime” error
The link to the documentation is not working.
@Assaf
Yes, I have same problem when selected time format is set to 24. If page is loaded at 11:30 AM it shows 23:30 ?
Can you please mention where is corrected version of TimePicker dll exists ?
Yes, I have same problem when selected time format is set to 24. If page is loaded at 11:30 AM it shows 23:30 ?
Can you please mention where is corrected version of TimePicker dll exists ?
Hi Michael,
Great control, though I can’t figure out how to use it?
I have downloaded the dll and referenced it in my project but it doesn’t show up in the toolbox. How do I make it do so?
Any word on where we can get the documentation??
To toxicious, In the toolkit, create a new tab if desired. Then within that tab, select to Choose Items… Browse to the location where you have the TimePicker.dll file and select it. It should then show up in the toolkit.
The link to your timepicker documentation still does not work? Is there any other place we can acces the documentation?
I like your timepicker control, however it does not have an autopostback event. Is that something I can incorporate or you can? I was wanting to update a textbox with the selected time as it is changed. (I’m basically building a time string based on several of the timepicker controls and want them to see the string as they are building it.)
Hi Mike ,
I could not use the 24 hour format like hours and format to 00:00 , when i try to set the value it throws me an exception saying that input string was not in correct format
Please its urgent requirment
Mike ,
If 00:00 is already have a fix please send me the URL of the updated .dll location
Can’t get to the documentation. The up/down buttons are displaying shifted up about a quarter of the way above the text boxes and with empy space between the two buttons. I am using vs2010, fw 4. ???????????
To get it in the toolbox, right click, add items, browse to dll and click
where is the code?
Please help me.
hi Michael
I have downloaded the dll and referenced it in my project but it doesn’t show up in the toolbox. How do I make it do so?
The control allows the user to highlight either the Hours, Minutes or Seconds and press the delete key. In doing so, I get an error on postback as it’s not a valid time. I believe it should automatically update the deleted contents with a 0.
sir,
i created one asp.net web application. I need to put the time picker (having hh:mm am or pm ) in my gridview cell. so,please send any time picker of that format . or can u send any links related to that for download.
Please help me sir.
thanking you.