Forbid typing a date earlier or later than a date if SelectableDateStart/SelectableDateEnd are set. Can be achieved by custom parsing. Available in the 2016 Q1 Release: Implemented IsInputRestrictedToSelectableDates property in order to allow only selecting dates by input in the selectable range (when SelectableDateStart/SelectableDateEnd/BlackoutDates are used).
Create property that allows to open the dropdown on focus or change the implementation of the control so this can be achieved by code.
Added TodayButtonVisibility and TodayButtonContent properties for showing/hiding a button that selects current date and time - available in the 2016 Q1 Release.
When you set, for example, DisplayDateStart to 1/1/2011, DisplayDateEnd to 1/1/2012 and DateSelectionMode to Year, the RadDateTimePicker displays 2010 too. You can interact with the years within the range but not with the additional one. The way to avoid this activity is to set DisplayDateStart to 2/1/2011 (according to the given example) but the day corresponding to the 1/1/2011 will not be included.
This is an issue with both a binding and a hard-set value
If the InputMode of the DateTimePicker is set to TimePicker the DateTimeWatermarkContent states €œEnter Date€ and it should state €œEnter Time€.
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=TodayButtonBorder'. BindingExpression:Path=CornerRadius; DataItem=null; target element is 'RadButton' (Name='TodayButton'); target property is 'CornerRadius' (type 'CornerRadius')
When the control is declared in XAML, and we place the caret somewhere on the control the VS designer is open, and the dropdown is open.
The milliseconds are not correctly parsed when setting an (f) custom format to the ShortTimePattern property.
A workaround for this would be to implement custom parsing:
private void TimePicker_ParseDateTimeValue(object sender, Telerik.Windows.Controls.ParseDateTimeEventArgs args)
{
string input = args.TextToParse;
DateTime res;
bool isValueParsedSuccessfully = DateTime.TryParse(input, out res);
if (isValueParsedSuccessfully)
{
args.Result = res;
}
else
{
args.IsParsingSuccessful = false;
}
}
Available in LIB version 2016.3.1017, it will be also available in the 2016 R3 SP1 release.
Available in LIB version 2015.3.1026, it will be also available in the 2015 Q3 SP.
This is the error: This feature requires service 'Microsoft.Windows.Design.Services.ValueTranslationService' to be present, but it could not be located.
When DateSelectionMode is Month, RadDateTimePicker has been opened and theme is changed, there is an InvalidOperationException. Workaround: 1. Set the DateSelection mode to Day - <pickerInstance>.DateSelectionMode = DateSelectionMode.Day; 2. Clearthe merged dictionaries for the theme 3. Add the new dictionaries 4. Set the DateSelection mode to desired - <pickerInstance>.DateSelectionMode = DateSelectionMode.Month; Available in LIB version: 2017.2.710
Available in LIB version 2016.3.1017, it will be also available in the 2016 R3 SP1 release.