This is a migrated thread and some comments may be shown as answers.

Telerik: raddatetimepicker SelectedDateChanged event not work

5 Answers 283 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 12 Apr 2013, 05:08 PM

Hi I use the element (similar datepicker). When I change the date using the specific button the event SelectedDateChanged is raised. (correct) When I change the date writing directly in textbox the event SelectedDateChanged is not raised. (incorrect)

Do you know this problem? and Do you know the solution?

Thanks

5 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 17 Apr 2013, 11:33 AM
Hi Marco,

I am not sure I fully understand your scenario as the RadDateTimePicker for WPF does not posses a SelectedDateChanged event. If you mean the SelectionChanged event we have tested it in both of the described scenarios - when selecting date by clicking on the date and when selecting date when inputting it in to the  WatermarkTextBox, but the SelectionChanged event is thrown as expected.
I am attaching my test application and a video showing how it behaves on my machine. It would be great if you can give it a try and let me know if I am not missing something.
Also can you confirm that you are using 2013.1.403 version of the controls ?

Greetings,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Marco
Top achievements
Rank 1
answered on 18 Apr 2013, 02:49 PM

Thanks for your answer.

The problem is this: when I change the date with "WatermarkTextBox" the event "SelectionChanged" is not raised.
The problem happen when you apply the binding to "SelectedDate".

<RadDateTimePicker Grid.Column="8" Width="95" Height="25" InputMode="DatePicker" x:Name="expirationdate" SelectedDate="{Binding DueDate, Mode=TwoWay}" IsTooltipEnabled="False" HorizontalAlignment="Left" Margin="3,0,0,0"/>


Excuse my previous imprecision,
Thanks

0
Georgi
Telerik team
answered on 23 Apr 2013, 07:45 AM
Hello Marco,

I have tried to reproduce it when binding, but with no success. I have attached my test application, it would be of great help if you can check it out and let me know what else I am missing.
I might not be able to reproduce it, because I am testing it with different version of the controls than you. So could you, please let us know what is the version of the controls that the issue can be reproduced with?

Kind regards,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Marco
Top achievements
Rank 1
answered on 10 May 2013, 08:18 AM
Hello Georgi,
I use this version:
  1. Telerik.Windows.Controls.Input.dll: 2012.1.326.40
  2. Telerik.Windows.Controls.dll: 2012.1.326.40

Thanks,
Marco

0
Georgi
Telerik team
answered on 15 May 2013, 08:20 AM
Hi Marco,

I have tried to reproduce it with the 2012.1.326.40 version of the controls in the simple project have sent you, but with no luck. I am attaching a video showing how it behaves on my machine.
Meanwhile can you confirm that you can reproduce the issue in the mentioned simple project?
If that is the case can you give more information on the machine where the issue is reproduced?
If the issue can not be reproduced in the project it would be very helpful if you can let us know what modifications it needs in order to reproduce it.

Kind regards,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DateTimePicker
Asked by
Marco
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Marco
Top achievements
Rank 1
Share this question
or