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
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
0
Hello Ashok,
You can customize the MonthHeaders using the TimerulerMajorTickStringFormat property of the MonthView and set it for example:
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
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
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
Hello Ashok,
In order to do this programmatically, you have to use the following code:
Best wishes,
Konstantina
the Telerik team
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 .
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
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
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!