Unplanned
Last Updated: 08 Nov 2024 08:00 by ADMIN
Remco
Created on: 08 Nov 2024 07:45
Category: Scheduler/Reminder
Type: Bug Report
0
RadScheduler: Navigator TimeZone dropdown list does not change the time zone of the control
In the RadSchedulerNavigator, in the upper right corner, there is a RadDropDownList which can change he TimeZone of the RadScheduler control. Selecting new value from the dropdown part will not change the TimeZone of the control.
1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 08 Nov 2024 08:00

Hi Remco,

Thank you for reporting this behavior. A possible solution here will be to subscribe to the SelectedValueChanged event of the time zone dropdown list. In the event handler, we can get the newly selected value and apply it to the RadScheduler DefaultTimeZone property.

 this.radSchedulerNavigator1.SchedulerNavigatorElement.TimeZonesDropDown.SelectedValueChanged += TimeZonesDropDown_SelectedValueChanged;

private void TimeZonesDropDown_SelectedValueChanged(object sender, Telerik.WinControls.UI.Data.ValueChangedEventArgs e)
{
    var timeZonesDropDown = this.radSchedulerNavigator1.SchedulerNavigatorElement.TimeZonesDropDown;
    if (this.radScheduler1 != null)
    {
        this.radScheduler1.ActiveView.DefaultTimeZone = timeZonesDropDown.SelectedValue as SchedulerTimeZone;
    }
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.