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

How to change scheduler and calendar region in telerik

1 Answer 75 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Novice
Top achievements
Rank 1
Novice asked on 20 Jan 2014, 07:59 AM
Hi telerik tim . My question is : how to change scheduler and calendar region and how to change month or day name in telerik.
Can I change the default date. as today's date in my country in 1392 = 2014 . how can I change these.
Thank you for everything.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 23 Jan 2014, 08:34 AM
Hi Novice,

Thank you for contacting us.

You can change the culture by setting the Culture property of RadScheduler: 
this.scheduler.Culture = CultureInfo.GetCultureInfo("de-DE");

You can change the month name in the header cells by accessing the cell directly and changing its text. You can use the following code:
(this.scheduler.SchedulerElement.ViewElement as SchedulerDayViewElement).HeaderElement.GetCells()[1].Text = "TEXT";

You can change the StartDate as follows:
this.scheduler.GetDayView().StartDate = DateTime.Today.AddYears(-20);

I hope this helps.

Regards,
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Scheduler and Reminder
Asked by
Novice
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or