This is a migrated thread and some comments may be shown as answers.

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

5 Answers 127 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
ashok
Top achievements
Rank 1
ashok asked on 15 Jun 2011, 03:03 PM
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

5 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 20 Jun 2011, 11:06 AM
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
0
ashok
Top achievements
Rank 1
answered on 20 Jun 2011, 12:24 PM
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
0
Konstantina
Telerik team
answered on 21 Jun 2011, 12:56 PM
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
0
ashok
Top achievements
Rank 1
answered on 06 Jul 2011, 12:04 PM
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 .
0
Valeri Hristov
Telerik team
answered on 07 Jul 2011, 07:54 AM
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!

Tags
ScheduleView
Asked by
ashok
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
ashok
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or