Declined
Last Updated: 06 Jun 2014 07:50 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: Calendar
Type: Bug Report
0
RadCalendar should support month selection. I.e, the end-user should be able to press a single button, and all the cells from the current month should become selected.

Resolution: 

#1 This behavior could be achieved very easy with current API, so we are thinking  that there is no need to implement it in our RadCalendar as embedded functionality. 

For example: 

C#

            this.radCalendar1.AllowMultipleSelect = true;
            for (int i = 1; i <= DateTime.DaysInMonth(DateTime.Now.Year,DateTime.Now.Month); i++)
            {
                this.radCalendar1.SelectedDates.Add(new DateTime(DateTime.Now.Year, DateTime.Now.Month, i));
            }
VB

Me.radCalendar1.AllowMultipleSelect = True
For i As Integer = 1 To DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month)
Me.radCalendar1.SelectedDates.Add(New DateTime(DateTime.Now.Year, DateTime.Now.Month, i))
Next

#2 You can set ShowOtherMonthsDays to false and use ViewSelector. 

For example: 

C# 
this.radCalendar1.AllowMultipleSelect = true;
this.radCalendar1.AllowViewSelector = true;
this.radCalendar1.ShowViewSelector = true;
this.radCalendar1.ShowOtherMonthsDays = false;
VB
Me.radCalendar1.AllowMultipleSelect = True
Me.radCalendar1.AllowViewSelector = True
Me.radCalendar1.ShowViewSelector = True
Me.radCalendar1.ShowOtherMonthsDays = False
Completed
Last Updated: 07 Mar 2011 06:54 by ADMIN
RadCalendar crashes when the focused date is set to a value out of the current view and adding rows/columns is performed.
Completed
Last Updated: 14 Apr 2011 05:05 by ADMIN
When changing CurrentViewRow or CurrentViewColumn of RadCalendar, the header is shown even when the ShowHeader is set to false.
Completed
Last Updated: 19 Jan 2010 09:37 by ADMIN
radCalendar €“ set AllowMultipleView to be true. Set MultiViewColumn and MultiViewRow to be 2. Try to change the Culture and you will see error:
Object reference not set to an instance of an object.
Completed
Last Updated: 25 Oct 2011 04:10 by ADMIN
RadCalendar throws an exception when you change the culture to ar-SA.
Completed
Last Updated: 20 Oct 2014 14:26 by ADMIN
To reproduce: 
1. Drag and drop RadCalendar to form
2. Set design time the AllowMultipleView property to true
3. Set design time value of the MultiViewRows and MultiViewColumns properties to 2
4. When save the form or run the project an exception is thrown. 

Workaround: 
Set the AllowMultipleView and MultiViewColumns properties with code.
Completed
Last Updated: 02 Apr 2018 07:55 by Dimitar
Workaround:
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();

        this.radDateTimePicker1.DateTimePickerElement.Calendar.ElementRender += Calendar_ElementRender;
    }

    private void Calendar_ElementRender(object sender, RenderElementEventArgs e)
    {
        if (this.radDateTimePicker1.DateTimePickerElement.Calendar.ZoomLevel == ZoomLevel.Days)
        {
            return;
        }

        CalendarCellElement element = e.Element as CalendarCellElement;
        if (element != null)
        {
            element.WeekEnd = false;
        }
    }
}
Completed
Last Updated: 05 Jun 2018 08:20 by Dimitar
How to reproduce:
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();


        ThemeResolutionService.ApplicationThemeName = "VisualStudio2012Light";

        this.radCalendar1.ShowRowHeaders = true;
        this.radCalendar1.AllowMultipleView = true;
        this.radCalendar1.MultiViewRows = 2;
        this.radCalendar1.MultiViewColumns = 2;
        this.radCalendar1.ShowFooter = true;
        this.radCalendar1.ShowOtherMonthsDays = false;
    }
}

Workaround: 
protected override void OnLoad(EventArgs e)
{
    base.OnLoad(e);

    MultiMonthViewElement viewElement = this.radCalendar1.CalendarElement.CalendarVisualElement as MultiMonthViewElement;
    CalendarMultiMonthViewTableElement tableElement = viewElement.FindDescendant<CalendarMultiMonthViewTableElement>() as CalendarMultiMonthViewTableElement;
    if (tableElement == null)
    {
        return;
    }

    foreach (RadElement child in tableElement.Children)
    {
        MonthViewElement monthViewElement = child as MonthViewElement;
        if (monthViewElement == null)
        {
            continue;
        }


        monthViewElement.FindDescendant<CalendarCellElement>().DrawBorder = false;
    }
}
Approved
Last Updated: 29 Mar 2016 10:30 by ADMIN
To reproduce:
public Form1()
{
    InitializeComponent();
    this.radCalendar1.RangeMinDate = new DateTime(2014, 1, 1);
    this.radCalendar1.RangeMaxDate = new DateTime(2017, 7, 17);
    this.radCalendar1.FocusedDate = new DateTime(2014, 2, 4);
    this.radCalendar1.AllowFastNavigation = true;
    this.radCalendar1.FastNavigationStep = 1; 
    this.radCalendar1.AllowMultipleView = true;
    this.radCalendar1.MultiViewColumns = 4;
    this.radCalendar1.MultiViewRows = 3;
    this.radCalendar1.CurrentViewRow = 0;  
    this.radCalendar1.CurrentViewColumn = 1;  
}

The user expects when fast navigating forward, the view to be shifted with one year = 12 months. However, each next forward fast navigation moves with 11 months. 

Workaround: 

            this.radCalendar1.CurrentViewRow = 0;  
            this.radCalendar1.CurrentViewColumn = 0;
            this.radCalendar1.CalendarElement.PreviousButton.PerformClick();
1 2