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!

  1. Keith
    June 17th, 2010 at 02:33 | #1

    You cannot display an hour of 00 in 24 hour mode. Is there any chance of a fix for this?

  2. Keith
    June 21st, 2010 at 03:47 | #2

    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.

  3. Assaf
    October 5th, 2010 at 02:31 | #3

    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

  4. bob
    October 31st, 2010 at 08:38 | #4

    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

  5. john
    February 23rd, 2011 at 15:46 | #5

    The link to the documentation is not working.

  6. Silpa
    February 24th, 2011 at 15:38 | #6

    @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 ?

  7. Silpa
    February 24th, 2011 at 15:42 | #7

    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 ?

  8. April 3rd, 2011 at 04:31 | #8

    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?

  9. Mike H
    May 10th, 2011 at 08:07 | #9

    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.

  10. Karl
    June 27th, 2011 at 06:01 | #10

    The link to your timepicker documentation still does not work? Is there any other place we can acces the documentation?

  11. Bill
    June 29th, 2011 at 14:27 | #11

    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.)

  12. Mohan
    July 3rd, 2011 at 12:02 | #12

    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

  13. Mohan
    July 3rd, 2011 at 12:06 | #13

    Mike ,
    If 00:00 is already have a fix please send me the URL of the updated .dll location

  14. Barry Fitzgerald
    July 13th, 2011 at 12:53 | #14

    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. ???????????

  15. Barry Fitzgerald
    July 13th, 2011 at 15:50 | #15

    To get it in the toolbox, right click, add items, browse to dll and click

  16. Barry Fitzgerald
    July 13th, 2011 at 15:52 | #16

    where is the code?

  17. Gopi krishna
    July 29th, 2011 at 00:53 | #17

    Silpa :@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 ?

    Please help me.

  18. Sandip
    October 7th, 2011 at 03:58 | #18

    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?

  19. Sandip
    October 7th, 2011 at 04:07 | #19

    Sandip :
    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?

  20. Chris
    October 11th, 2011 at 08:00 | #20

    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.

  21. Nagaraj
    November 1st, 2011 at 04:56 | #21

    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.

  1. No trackbacks yet.