Radcalendar display month in one row

3 posts, 1 answers
  1. Bary
    Bary avatar
    8 posts
    Member since:
    Jun 2014

    Posted 27 Jun 2014 Link to this post


    I want to configure the calendar, so I can show the days of the month on one single row, I tried the following settings:

    <telerik:RadCalendar ID="RadCalendar" runat="server" HideNavigationControls="true" ShowNavigationButtons="false" ShowRowHeaders="false" ShowColumnHeaders="false" ShowFastNavigationButtons="false" SingleViewColumns="31" SingleViewRows="1" FocusedDate="6/1/2014" Skin="MetroTouch" TitleAlign="Left"></telerik:RadCalendar>

    These settings display the days for the month "6" in single row, but it only display 24 days not all days, how can I display all days of the month in one single row.

    Thanks in advance.

  2. Answer
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Jun 2014 in reply to Bary Link to this post

    Hi Bary,

    The SingleViewColumns property of RadCalendar will display only the number of column mentioned. In your scenario you have mentioned the SingleViewColumns  as 31, so it will display only 31 column. In order to achieve your scenario try to mention a value between 37 to 40 based on your requirement as follows.

    <telerik:RadCalendar ID="RadCalendar" runat="server" HideNavigationControls="true"
        ShowNavigationButtons="false" ShowRowHeaders="false" ShowColumnHeaders="false"
        ShowFastNavigationButtons="false" SingleViewColumns="40" Skin="MetroTouch"                    SingleViewRows="1" FocusedDate="6/1/2014" TitleAlign="Left">

  3. Bary
    Bary avatar
    8 posts
    Member since:
    Jun 2014

    Posted 30 Jun 2014 Link to this post

    Thank you Princy, that helped me, I had another problem, I wanted to hide days from other months, I did it using ShowOtherMonthsDays="False", but the problem was that there were empty cells replacing the days from other months, and I resolve this problem setting:


    That could help somebody else.

Back to Top