Hello,
I have my RadScheduler configured to display our business week – Monday thru Sunday – but all the other popup date pickers display the standard Sunday thru Saturday display.
How do I get these date pickers to synchronize with the FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" I set on the RadScheduler?
IE: New Appointment Date Pickers, Today Date Picker, etc.
Regards,
Dean
4 Answers, 1 is accepted
0
Stuart Hemming
Top achievements
Rank 2
answered on 12 Oct 2011, 11:37 PM
Dean,
Granted, in my case I'm using a completely bespoke form for add/edit of appointments, but, in my case, I found I had to set the relevant properties manually on all of the appropriate controls.
--
Stuart
Granted, in my case I'm using a completely bespoke form for add/edit of appointments, but, in my case, I found I had to set the relevant properties manually on all of the appropriate controls.
--
Stuart
0
Dean
Top achievements
Rank 1
answered on 14 Oct 2011, 02:25 PM
Telerik? Any answer on this?
This seems like a much needed feature if not.
Please let us know.
This seems like a much needed feature if not.
Please let us know.
0
Hello Dean,
Yes indeed, it is not implemented yet.
Here is the code behind that worked at my side:
Hope this will be helpful.
Greetings,
Plamen Zdravkov
the Telerik team
Yes indeed, it is not implemented yet.
Here is the code behind that worked at my side:
protected
void
RadScheduler1_PreRender(
object
sender, EventArgs e)
{
RadCalendar popupCalendar = RadScheduler1.FindControl(
"SelectedDateCalendar"
)
as
RadCalendar;
popupCalendar.FirstDayOfWeek = FirstDayOfWeek.Monday;
}
protected
void
RadScheduler1_FormCreated(
object
sender, SchedulerFormCreatedEventArgs e)
{
if
((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
{
RadCalendar popupCalendar = e.Container.FindControl(
"SharedCalendar"
)
as
RadCalendar;
popupCalendar.FirstDayOfWeek = FirstDayOfWeek.Monday;
}
}
Hope this will be helpful.
Greetings,
Plamen Zdravkov
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
Dean
Top achievements
Rank 1
answered on 17 Oct 2011, 02:56 PM
That worked perfectly!
Thank you very much!
~Dean
Thank you very much!
~Dean