Telerik Forums
UI for Universal Windows Platform Forum
1 answer
205 views
It appears that the calendar swipes up/down in monthly view, if not also in others..  How can we make it swipe left/right and change the buttons accordingly?
Didi
Telerik team
 updated answer on 26 Apr 2022
0 answers
75 views

I am running into an issue with the calendar control dealing with the header content template. I have a template set in the calendar however on load the header never shows up. The only way that I have been able to see the header content is if i comment out the template while it is running, uncomment it and then save. After this the header shows up at the top of the screen. I have attached a screenshot with my rad calendar as well as a zipped mp4 video showing the issue and it appearing after commenting/uncommenting the data template. Any idea why the header content template does not show on load?

Tyler
Top achievements
Rank 1
 asked on 25 Apr 2022
5 answers
77 views

Hi,

How can I disable animation of a calendar cell when the mouse goes over it?

 

Thanks

Krzysztof 

 

lucky
Top achievements
Rank 1
 answered on 02 Apr 2020
6 answers
50 views

<telerikInput:RadCalendar SelectedDateRange="{x:Bind DataRange,Mode=TwoWay}" DisplayMode="MonthView" SelectionMode="Multiple"/>

 

public sealed partial class MainPage : Page
    {

        private CalendarDateRange? dateRange = new CalendarDateRange(new DateTime(2019,3,1),new DateTime(2019,3,20));
        public CalendarDateRange? DataRange
        {
            get => dateRange;
            set
            {
                dateRange = value;
            }
        }
        public MainPage()
        {
            this.InitializeComponent();
        }
    }

 

My question is how to do the selection operation on this control that will change the DataRange property value correctly? For now, the startdate and enddate always are the same value when I do the selection on the control.

Yana
Telerik team
 answered on 24 Apr 2019
1 answer
55 views

Hi,

thanks for having shared the UWP controls with the community.

I'm trying to use the Calendar and I've bound its SelectedRangeDate to a DateTime SelectedDate in my viewmodel using the converter you provided and TwoWay mode.

It works ok when selecting the date from the control but I can't unselect the cell by putting in my VM SelectedDate to null (I'm using MvvmLight and its ViewModelBase for my VM, thus calling Set(ref m_SelectedDate, value) and so automagically raising the PropertyChanged event).

What I would like to achieve is having again an empty calendar, meaning with no selected cells.

What am I doing wrong?

thank you

Maurizio
Top achievements
Rank 1
 answered on 04 Mar 2017
1 answer
60 views

Hi,

I'm using RadCalendar for UWP, I'm trying to blackout the future dates on it using CalendarCellStateSelector. while executing it throws an error as below:

SeverityCodeDescriptionProjectFileLineSuppression State Error Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

here is my code I used in calendar.xaml

        <tlControl:RadCalendar MonthViewHeaderFormat="{}{0:MMMM yyyy}" MonthViewCellFormat="{}{0:%d}" DayNameFormat="FullName"
                               Grid.Row="1" IsTapEnabled="True" GridLinesThickness="2" GridLinesVisibility="Both"
                               CurrentDateChanged="RadCalendar_CurrentDateChanged" SelectionMode="Single" 
                               x:Name="radCalendar" >

            <tlControl:RadCalendar.CellStateSelector>
                <state:CustomBlackoutStateSelector/>
            </tlControl:RadCalendar.CellStateSelector>
</tlControl:RadCalendar>

 

 

and  in calendar.xaml.cs

    public class CustomBlackoutStateSelector : CalendarCellStateSelector {
        protected override void SelectStateCore(CalendarCellStateContext context, RadCalendar container)
        {
            if (container.DisplayMode == CalendarDisplayMode.MonthView && context.Date > DateTime.Today) {
                context.IsBlackout = true;
            }
        }
    }

 

 

Could you please tell me how to fix this issues, I didn't see any errors in stack tracke.

Thank you,

SJ

 

Nikolay
Telerik team
 answered on 11 Nov 2016
1 answer
61 views

Hi, I just started using telerik controls trail version for UWP application. I'm using RadCalendar on my view it displays only Monthview.

Here I want to add a uwp button control on top of RadCalendar control when it changes the current month to previous/next month. Could you please tell me how to add an other UWP control over RadCalendar.

 

 

 

Thank you,

SJ

Rosy Topchiyska
Telerik team
 answered on 11 Nov 2016
1 answer
50 views

Hi Guys

I am working on a universal app, my requirement is load the events to the calendar and have the ability to go to do a task when the user click a particular event.

I have looked through the documentation but could not see help on this. Does this control support this functionality?

If yes, can you provide a sample?

 

Thanks

Ramesh

Lance | Manager Technical Support
Telerik team
 answered on 25 Aug 2016
6 answers
43 views

I am using RadControls from "TelerikUI.UniversalWindowsPlatform": "2016.2.608.45"

 

I'm experiencing some inconsistencies with week number on the RadCalendar.  The desired behavior is to show a month at a time, with the week number shown on each Sunday cell, and Sunday is the first day of the week.  I am using the WeekNumberCellStyle to display it.  It looks fine visually but the data is incorrect for a couple months.

 

In months where the first of the month is a Sunday, the entire previous week is shown in the top row, which puts the first week of that month in the second row.  However the week numbers are displayed as if the first of that month is in the top row.  As a result, the week numbers are all shown as one higher for that month.  When viewing the months before and after, the week numbers are all shown correctly.

 

The first instance this can be seen is when comparing Dec 2016 to Jan 2017.  When viewing Dec 2016, the first week is Week 47: Sun Nov 27-Sat Dec 3, and the last visible row is Week 1: Sun Jan 1-Sat Jan 7.  This is correct.  But when viewing Jan 2017, the first row is Week 1: Sun Dec 25-Sat Dec 31, second row is Week 2: Sun Jan 1-Sat Jan 7, etc., through Week 6: Sun Jan 29-Sat Feb 4.  The week numbers for all of these are incorrect.  When viewing Feb 2017, the week numbers correct themselves.  The first row is Week 5: Sun Jan 29-Sat Feb 4.

 

The problem also occurs in Oct 2017, Apr 2018, and so forth.

 

Can someone please let me know if I am doing something wrong or if this is a bug and will be fixed?

 

Thanks,

Joe

Joe
Top achievements
Rank 1
 answered on 24 Aug 2016
1 answer
67 views

Hello guys,

 I'm using RadCalendar for schedule events. Now I am able to display event title in calendar cell. But I want to format cell like increase font size of title  and also display time. I have attache image as a demo. I am trying to implement like following image. 

Please suggest way to achieve this. 

thank you.

Pavel R. Pavlov
Telerik team
 answered on 16 Jun 2016
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?