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";
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.
Used to clear the Input field and set the SelectedValue to null, include dependency properties like ClearButtonVisibility and ClearButtonContent.
Available in LIB version 2016.3.1017, it will be also available in the 2016 R3 SP1 release.
Available with the 2016 R2 Release.
Can you please add a property CustomFormat to RadDateTimePicker? Possibly we should have 3 options for DisplayMode: Short, Long and Custom. If Custom is selected, user can specify format into CustomFormat field. Ex. CustomFormat = "MMM dd, yyyy". Also, make this field bindable, so that it can be specified from the ViewModel.
Available in LIB version 2015.3.1026, it will be also available in the 2015 Q3 SP.