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

Selecting a date doesn't make it appear in the control

1 Answer 53 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Rod
Top achievements
Rank 1
Rod asked on 07 Aug 2012, 08:09 PM
I'm working with a somewhat older version of the Telerik controls (2011 Q3), but I would think this would still work.  I have the control setup to use DatePicker for the InputMode.  If I click on the calendar and navigate to some date and click on it, then the calendar disappears, but the date I selected isn't in the control.  Checking the control's SelectedValue, it is null, so it didn't accept the date I clicked upon, either.

I'm guessing that I'm doing something wrong, have left out something in the XAML, or something.  Here's the relevant XAML:

<telerik:RadDateTimePicker Grid.Column="1" Grid.Row="4" DateTimeWatermarkContent="Enter DOB" HorizontalAlignment="Center" Margin="0" Name="radDOB"
                                                     VerticalAlignment="Center" GotFocus="radDOB_GotFocus" SelectionChanged="radDOB_SelectionChanged" InputMode="DatePicker"
                                                     MinWidth="80"/>

1 Answer, 1 is accepted

Sort by
0
Rod
Top achievements
Rank 1
answered on 09 Aug 2012, 08:37 PM
Never mind, programming error on my part.

As you were.
Tags
DateTimePicker
Asked by
Rod
Top achievements
Rank 1
Answers by
Rod
Top achievements
Rank 1
Share this question
or