Month Names in Month View Starting of the month and end of the month

6 posts, 0 answers
  1. ashok
    ashok avatar
    14 posts
    Member since:
    Apr 2011

    Posted 15 Jun 2011 Link to this post

    Hi Team,

    I have to display month names in monthview it has to show month name for the 1st day of the month and end day of the month. please see the screen shot which as marked with red lines i need it in the same way. please guide me on this.

    Thanks
    Ashok
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 20 Jun 2011 Link to this post

    Hello Ashok,

    You can customize the MonthHeaders using the TimerulerMajorTickStringFormat property of the MonthView and set it for example:

    <telerik:MonthViewDefinition TimerulerMajorTickStringFormat="{}{0:m}" />

    That will apply it to all headers. Setting format only to 1-2 TimeSlots is not supported.

    Hope this helps.

    Best wishes,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. ashok
    ashok avatar
    14 posts
    Member since:
    Apr 2011

    Posted 20 Jun 2011 Link to this post

    Hi Team,
    Can i achieve this through Coding? if it achieve through coding means..how should i do this. please guide me on this


    Thanks
    Ashok
  4. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Jun 2011 Link to this post

    Hello Ashok,

    In order to do this programmatically, you have to use the following code:

    MonthViewDefinition monthDefintion = new MonthViewDefinition();
    this.scheduleView.ViewDefinitions.Add(monthDefintion);
    monthDefintion.TimerulerMajorTickStringFormat = "{0:m}";


    Best wishes,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. ashok
    ashok avatar
    14 posts
    Member since:
    Apr 2011

    Posted 06 Jul 2011 Link to this post

    HI Team,

    I need to do this according to the screen attached and i have to display month names which are marked with red line in screen shot. how can i do this. please give me some info related to this and provide me the sample project .
  6. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 07 Jul 2011 Link to this post

    Hi Ashok,

    I am afraid this cannot be easily done with RadScheduleView. The day headers in MonthView always have the same date format strings.

    Greetings,
    Valeri Hristov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top