https://docs.telerik.com/devtools/wpf/controls/raddatetimepicker/styles-and-templates/styling-raddatetimepicker
After extracting the default style for RadDateTimePicker to the resource file to my application (as mentioned in the above page.), RadDateTimePicker is not working as expected.
For current month it picks up the correct date that is selected in the calendar. But for previous months and next months, it is picking up different date than selected.
telerik version- R1 2020
Attached the screenshot.
Hi all!
I have an event which triggers an async loading task in which I change data which is bound to the RadCalendar.
In my development environment I never had any issues but users on RDS-Server have. This is the stack-trace from there log:
ERROR2020-01-20 11:25:28 – Fatal Error - StackTrace: ModuleContainerManager - HandleUnhandledException
WeakReferenceList`1 - IndexOf
WeakReferenceList`1 - Remove
SelectionChanger`1 - Select
SelectionChanger`1 - InsertItem
Collection`1 - Add
SelectionChanger`1 - AddJustThis
RadCalendar - AddToSelection
RadCalendar - OnSelectedDateChanged
RadCalendar - OnSelectedDateChanged
DependencyObject - OnPropertyChanged
FrameworkElement - OnPropertyChanged
DependencyObject - NotifyPropertyChange
DependencyObject - UpdateEffectiveValue
DependencyObject - InvalidateProperty
BindingExpressionBase - Invalidate
BindingExpression - TransferValue
BindingExpression - ScheduleTransfer
ClrBindingWorker - NewValueAvailable
PropertyPathWorker - UpdateSourceValueState
PropertyPathWorker - OnDependencyPropertyChanged
ClrBindingWorker - OnSourceInvalidation
BindingExpression - HandlePropertyInvalidation
BindingExpressionBase - OnPropertyInvalidation
BindingExpression - OnPropertyInvalidation
DependentList - InvalidateDependents
DependencyObject - NotifyPropertyChange
DependencyObject - UpdateEffectiveValue
DependencyObject - SetValueCommon
DependencyObject - SetCurrentValue
RadDateTimePicker - OnSelectedValueChanged
RadDateTimePicker - OnSelectedValueChanged
DependencyObject - OnPropertyChanged
FrameworkElement - OnPropertyChanged
DependencyObject - NotifyPropertyChange
DependencyObject - UpdateEffectiveValue
DependencyObject - InvalidateProperty
BindingExpressionBase - Invalidate
BindingExpression - TransferValue
BindingExpression - ScheduleTransfer
ClrBindingWorker - NewValueAvailable
PropertyPathWorker - UpdateSourceValueState
PropertyPathWorker - RefreshValue
ClrBindingWorker - ScheduleTransferOperation
DataBindOperation - Invoke
DataBindEngine - ProcessCrossThreadRequests
ExceptionWrapper - InternalRealCall
ExceptionWrapper - TryCatchWhen
DispatcherOperation - InvokeImpl
DispatcherOperation - InvokeInSecurityContext
CulturePreservingExecutionContext - CallbackWrapper
ExecutionContext - RunInternal
ExecutionContext - Run
ExecutionContext - Run
CulturePreservingExecutionContext - Run
DispatcherOperation - Invoke
Dispatcher - ProcessQueue
Dispatcher - WndProcHook
HwndWrapper - WndProc
HwndSubclass - DispatcherCallbackOperation
ExceptionWrapper - InternalRealCall
ExceptionWrapper - TryCatchWhen
Dispatcher - LegacyInvokeImpl
HwndSubclass - SubclassWndProc
nsafeNativeMethods - DispatchMessage
Dispatcher - PushFrameImpl
Dispatcher - PushFrame
Application - RunDispatcher
Application - RunInternal
Application - Run
Application - Run
App - Main
Do I have to take care some how of the binding or how can I catch this to prevent app crash?
Thanks for help!!!!!!
BR Gert
Hi,
I'm facing an issue with RadCalendar placed inside a RadDocking control. The DisplayDateChanged event is called whenever I dock or undock the calendar from the docking control. I've bound a data refresh command to the said event, but dock/undock causes the command to be fired without being needed.
Here is the Xaml:
<telerik:RadCalendar>
<behaviors:EventTrigger EventName="DisplayDateChanged">
<behaviors:InvokeCommandAction Command="{Binding Path=RefreshDataCommand}" CommandParameter="{Binding ElementName=ctrlCalendarView, Path=DisplayDate}">
</behaviors:InvokeCommandAction>
</telerik:RadCalendar>
RefreshDataCommand is coming from ViewModel.
What the issue is this, please look into the matter.
Thanks.
Hi Progress Team,
I added a RadCalendar component to my project but when changing the base week of this 2x2 grid calendar the weeknumbers stay the same all the time. Have I missed something here? How do they update? I used the following code for the XAML definition:
<
telerik:RadCalendar
Grid.Column
=
"0"
Margin
=
"36,10,10,10"
AreWeekNamesVisible
=
"True"
AreWeekNumbersVisible
=
"True"
CalendarWeekRule
=
"FirstFourDayWeek"
Columns
=
"2"
Culture
=
"de-DE"
DateSelectionMode
=
"Day"
FirstDayOfWeek
=
"Monday"
Foreground
=
"White"
Rows
=
"2"
SelectionMode
=
"Extended"
ViewsHeaderVisibility
=
"Visible"
>
</
telerik:RadCalendar
>