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

How do i set the weekMonthView's first day to monday

2 Answers 71 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Cooper
Top achievements
Rank 1
Cooper asked on 08 Apr 2014, 10:36 AM
Hi telerik!

I have two problems

(1) How do i set the weekMonthView's first day to monday ? 

(2) What trigger event can reload data in radSchedule when i clicked the radSchedulerNavigator1's today button ?

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 10 Apr 2014, 12:37 PM
Hi Cooper,

Thanks you for writing.

1. You can set the current culture of the week/month view to a culture where the first day of week is set to monday:
SchedulerWeekView weekView = new SchedulerWeekView();
CultureInfo ci = new CultureInfo("en-US");
 
ci.DateTimeFormat.FirstDayOfWeek = DayOfWeek.Monday;
weekView.CurrentCulture = ci;
this.radScheduler1.ActiveView = weekView;

2. You can subscribe to the Today button click event and execute any custom logic you want in it:
radSchedulerNavigator1.NavigateTodayButton.Click += NavigateTodayButton_Click;
 
void NavigateTodayButton_Click(object sender, EventArgs e)
{
             
}

I hope this will be useful. Should you have further questions, I would be glad to help.
 
Regards,
Dimitar
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.

 
0
Cooper
Top achievements
Rank 1
answered on 11 Apr 2014, 03:04 AM
thank you,   It really helped me.
Tags
Scheduler and Reminder
Asked by
Cooper
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Cooper
Top achievements
Rank 1
Share this question
or