1.) Is it possible to disiplay a time editor similar to the windows system time editor in the xamtimeeditor dropdown?
2.) How do I display the time zone as part of the time?
3.) How do I style the dropdown calendar? I need to make the background black, foreground white.
Thanks,
Sam
Hello Sam,
Thank you for your post. I have been looking into it, but I am not completely sure what do you mean by “windows system time editor”. Could you please be more specific how do you want your Editor and Dropdown to look like and send me a screen shot of the desired result, so I can try to customize it that way.
Looking forward for your reply.
Hi Stefan, I am referring to the calendar and clock that appear when you click on the date in the lower right corner of the screen in MS windows.
Regards,
Do want the clock to be static and you just can set the time with it, or you want it ticking and has the ability to set the time.
The user should be able to edit the time just as they do the date. Also, ideally, the time zone will display with the date and time. Thanks very much this is a very nice control!
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hi Stephan, I tried the new control. We are using version 11.2 so I had to reference those assemblies. I think it causes problems in a couple places:
If I just start typing a date into the textbox the control crashes in the OnTimerTick event because the variable time is null:
time.Text = now.ToString("hh:mm:ss:tt 'GMT'z"); // time = null
Honestly, the clock is visually attractive but I think it is difficult to use it to select the time. Just my two cents if you dont mind. I think it would be easier to allow the user to just edit the time by typing it, or if you want to be fancy, have dropdowns for hour, minuite, second, am/pm. When the user presses the tab when the focus is on the calendar the cursor should jump to the textboxes under the clock to let the user edit the time. Also the time should be editable (and viewable) without expanding the control - just like the date
BTW the hour and minute hands look like they are the same length on the clock. its a bit difficult to tell which is which
Thanks again for making this, it is a beautiful control I think you should include it with the retail product.
I have modified the sample, so now there are dropdowns that can set the time.
Hope this helps you.