Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Issue: DateTimePicker spinner problem [PLUS] [22515]

$
0
0
Hello,

im currently using the trial of the plus Edition, because i needed the 3.1 fixes for the datetimepicker.

Now a different problem exists:
If i click on one part of the picker, for example minutes, and use the spinner-button to increase or decrease the value, it loses focus after the first click (first click works fine and increases the correct portion) and increases the day-portion instead (because thats the part that gets changed if nothing is focussed).

Also i have a strange problem with the min / max feature of the datetimepicker.
I have set the minimum in code behind to {20.03.2017 12:00:30} and max to {21.03.2017 02:00:00}.
Now if i manually set the value to for example {20.03.2017 14:30:34} i get the following exception, which makes no sense:

System.ArgumentOutOfRangeException: "Value must be greater than MinValue of 20.03.2017 12:00:30"

Interestingly setting it to lower values like: 20.03.2017 12:30:15 throws no exception.

Maybe something localization related? Im using german/european culture-times.

Thanks for any help!
Comments: ** Comment from web user: SchwertJuergen **

Thanks for you answer.
How exactly do i find the DateTimeUpDown.cs file? I installed the toolkit via nuget.
If i search the updownbase in references i cant see the code and if i use "peek definition" in visual studio on an DateTimeUpDown it opens the code but "from Metadata (read only)".


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>