I used persian calendar in RadScheduler. I have two problem with it:
1. DayView, weekView are ok but MonthView is not ok. As showed in picture "12 فروردین" is ok becuase has appointment but next day(March 1) is not ok. it should be "13 فروردین" but it is "2".
2. I want to change default startDate and EndDate in MonthView becuase Start day of Month in Persian is different with Georgian.
1. DayView, weekView are ok but MonthView is not ok. As showed in picture "12 فروردین" is ok becuase has appointment but next day(March 1) is not ok. it should be "13 فروردین" but it is "2".
2. I want to change default startDate and EndDate in MonthView becuase Start day of Month in Persian is different with Georgian.
5 Answers, 1 is accepted
0
Hi shahab,
Hope this will be helpful.
Kind regards,
Plamen
the Telerik team
You can use jQuery and change the text in the day cells as for example in the code below:
function
pageLoad() {
var
$ = $telerik.$;
$(
".rsDateHeader"
).each(
function
(index, elem) {
$(elem).text($(elem).attr(
"title"
));
});
}
Hope this will be helpful.
Kind regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
shahab
Top achievements
Rank 1
answered on 04 Apr 2013, 08:13 AM
your solution is not good. I think Telerik has bug in this sample. Why "12 فروردین" is correct and display in Persian format but "13 فروردین" display in Georgian Format? I want to set day of month in each cell. How could I do that?
0
shahab
Top achievements
Rank 1
answered on 04 Apr 2013, 08:18 AM
I solved it:
<
MonthView
HeaderDateFormat
=
"MMM dd"
DayHeaderDateFormat
=
"MMM dd"
/>
0
safa
Top achievements
Rank 1
answered on 08 Nov 2014, 10:46 AM
Hi shahab,
Did you find any solution for your second problem?
I want to change default startDate and EndDate in MonthView becuase Start day of Month in Persian is different with Georgian.
I have same problem.
Did you find any solution for your second problem?
I want to change default startDate and EndDate in MonthView becuase Start day of Month in Persian is different with Georgian.
I have same problem.
0
Hi Safa,
You can refer this this forum thread where a similar scenario have been discussed.
Regards,
Plamen
Telerik
You can refer this this forum thread where a similar scenario have been discussed.
Regards,
Plamen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.