Page 1 of 2
problem with datetimepicker control
Posted: Tue Oct 30, 2012 7:14 am
by Antony_87
I use WPF designer (version 2012.2) for report with DateTimePickerControl placed on the form
I try to change date value of this control but nothing happens - it shows default value
Code: Select all
DateTimePickerControl1.Value = System.DateTime.Now.AddYears(-50);
So i also try to set custom format but it doesn't work
Code: Select all
DateTimePickerControl1.Format = DateTimePickerFormat.Custom;
DateTimePickerControl1.CustomFormat="yyyyMMdd";
what's wrong ?
Re: problem with datetimepicker control
Posted: Tue Oct 30, 2012 9:25 am
by HighAley
Hello.
Please, try to set the Today property of the DateTimePickerControl to False.
Thank you.
Re: problem with datetimepicker control
Posted: Tue Oct 30, 2012 12:05 pm
by Antony_87
sorry but I see no effect
when i set Today = false - control doesn't wok as I expect - I can't set data
Re: problem with datetimepicker control
Posted: Tue Oct 30, 2012 12:13 pm
by HighAley
Hello.
Please, describe how to reproduce your issue.
Where do you try to change Value of the DateTimePickerControl1.
Thank you.
Re: problem with datetimepicker control
Posted: Tue Oct 30, 2012 12:26 pm
by Antony_87
I have attached the example
all I need: set up datetimepicker value from code (for example in form OnLoad Event or in some button event)
in this example I try to change CustomFormat and set initial date for control (form OnLoad event)
and I try to change date in button OnClick event
as to example - it works fine if I use win-forms designer for preview
it doesn't work if i use WPF designer for preview
Re: problem with datetimepicker control
Posted: Wed Oct 31, 2012 8:15 am
by Alex K.
Hello,
We need some time for fix the issue.
Thank you.
Re: problem with datetimepicker control
Posted: Wed Oct 31, 2012 12:00 pm
by Antony_87
Ok
Thank's a lot
Re: problem with datetimepicker control
Posted: Wed Oct 31, 2012 1:09 pm
by Alex K.
Hello,
We will let you know when the solution will be available.
Thank you.
Re: problem with datetimepicker control
Posted: Thu Nov 01, 2012 11:54 am
by Alex K.
Hello,
The issue with the value of DateTimePicker control is fixed.
Unfortunately, but set custom format in wpf version does not possible.
Thank you.
Re: problem with datetimepicker control
Posted: Fri Nov 02, 2012 6:41 am
by Antony_87
Thank for this good news
It means that we need to download product from Stimulsoft site (in registred user area) once again?
we see only files with date 2012.10.26