Change the time picker to a way that you can 'zoom' in on the time. In the same way as the decade>year>month zoom of the date part.
To be able to select times till minute or second precision
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;
}
}
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.
one of my users has requested the ability to have the daytime picker pop-up closed when you double-click on the time. could this please be added into a future release. I have written some code to do it in the meantime in ClockItem.cs:
// Stefan: start
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
{
base.OnMouseDoubleClick(e);
var dateTimePicker = this.ParentOfType<RadDateTimePicker>();
if (dateTimePicker != null && dateTimePicker.InputBox != null)
{
dateTimePicker.IsDropDownOpen = false; // close it.
}
}
// Stefan: end
The current workaround is to make sure that both the day and month include leading zeros in the ShortDatePattern: this.DatePicker.Culture.DateTimeFormat.ShortDatePattern = "yyyy.MM.dd";
Create property that allows to open the dropdown on focus or change the implementation of the control so this can be achieved by code.
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
When StartTime = EndTime all hours are visable (12 am - 11pm) Workaround: Select EndTime in one hour interval from StartTime (10:00 - >10:01). In this situation only 10:00 will be visible
Implement two-digit year parsing referred as €œThe 2029 Rule€ in the control like the parsing in Excel. Examples: In Excel: typing 1/1/70 returns 1/1/1970 In RadDatePicker: typing 1/1/70 returns 1/1/2070 For more information use the description at this link
When FlowDirection is RTL, navigating in Calendar and Clock is inverted- pressing left arrow moves the selection to the right and vice versa.