Telerik Forums
UI for WPF Forum
1 answer
171 views

Is it possible to have the RadCalendar inside the RadDatePicker and RadDateRangePicker to have a different theme than the RadDatePicker and the RadDateRangePicker?

I tried setting this within the RadDatePicker control's xaml:

<telerik:RadDateTimePicker.CalendarStyle>
    <Style TargetType="telerik:RadCalendar">
        <Setter Property="telerik:StyleManager.Theme"
                Value="Windows11" />
    </Style>
</telerik:RadDateTimePicker.CalendarStyle>

...but it has no effect.

Stenly
Telerik team
 answered on 12 Mar 2025
0 answers
168 views
Hi everyone I have a question .I want to change max column from 4 to 6 and resize small calendar. I use RadCalendar . . please help me. thanks
thanh
Top achievements
Rank 1
 updated question on 06 Mar 2023
0 answers
165 views
Hi,

I am looking for a component to print a Year Calendar with selected days marked.

Just printing, no dialogboxes etc.

Is there a component and an example how to do this?

Kind regards,
André
André
Top achievements
Rank 1
 asked on 14 Dec 2022
3 answers
135 views

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.

 

Vladimir Stoyanov
Telerik team
 answered on 23 Sep 2020
1 answer
108 views

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

Martin Ivanov
Telerik team
 answered on 23 Jan 2020
6 answers
177 views

     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.

Vladimir Stoyanov
Telerik team
 answered on 15 Oct 2019
4 answers
206 views
I have question.

sorry. i'm beginner and I'm not good at English .

I wnat Same Attach Picture

Simple Source Please.


Dimitar Dinev
Telerik team
 answered on 30 Sep 2019
7 answers
306 views
We are using the WPF RadCalendar to show two months side by side. We have ViewsHeaderVisibility set to Visible so that the individual month header is displayed on each calendar. The default header top bar is still displayed spanning both calendars with the first month as the title. What we want to do is hide the default header as it is confusing to have the month displayed twice. Is there an easy way to do this?
Dilyan Traykov
Telerik team
 answered on 15 Aug 2019
3 answers
137 views

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>
Martin Ivanov
Telerik team
 answered on 16 Jul 2019
6 answers
918 views
Dear Sir,

Could you please help me with the problem as under.

How can i change color of selected date according to my wish or different colors by c# codes.

I am having dates from datebase which are the selected dates in your calender control those are displayed and selected correctly but when i selected another date excluding those date the selected dates are disappear

What I need is the newly selected data and those came from database  should be remain selected.

Currently we are using the demo version of your control if we get solution of above problem we ill buy 2 to 3 license version of your control


Thanking you,
Tabs BI Software Team.


Manpreet
Top achievements
Rank 1
 answered on 23 Apr 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?