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

Recurrence Editor have different layout on different server

4 Answers 35 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Navirius
Top achievements
Rank 1
Navirius asked on 03 Aug 2018, 10:28 AM

I build Sharepoint webpart with RadScheduler on one server, then I deployed with sharepoint package on another server, why I get different layout for both server?

 

How to make it default like documentation on this link https://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/recurrence-editor/overview

4 Answers, 1 is accepted

Sort by
0
Navirius
Top achievements
Rank 1
answered on 03 Aug 2018, 11:35 PM

the reason why I need "original" layout like documentation, because with dropdown recurrence selector, recurrence rule always use HOURLY frequency, event I already clear that drop down and fill it just with DAILY, WEEKLY and MONTHLY

 

RadDropDownList recurrenceAppointmentDropDwon = (RadDropDownList) recurrenceEditor?.FindControl("RecurrentAppointmentDropDown");
                if (recurrenceAppointmentDropDwon != null)
                {
                    recurrenceAppointmentDropDwon.Items.Clear();
                    recurrenceAppointmentDropDwon.Items.Add(new DropDownListItem(RecurrenceFrequency.None.ToString(),RecurrenceFrequency.None.ToString()));
                    recurrenceAppointmentDropDwon.Items.Add(new DropDownListItem(RecurrenceFrequency.Daily.ToString(), RecurrenceFrequency.Daily.ToString()));
                    recurrenceAppointmentDropDwon.Items.Add(new DropDownListItem(RecurrenceFrequency.Weekly.ToString(), RecurrenceFrequency.Weekly.ToString()));
                    recurrenceAppointmentDropDwon.Items.Add(new DropDownListItem(RecurrenceFrequency.Monthly.ToString(), RecurrenceFrequency.Monthly.ToString()));

                }

 

when I create recurrent appointment with daily frequency, recurrence rule created with hourly frequency

 

How can I fix this?

 

0
Rumen
Telerik team
answered on 08 Aug 2018, 08:08 AM
Hello Navirius,

To achieve the same look and feel as in the documentation screenshot, you should configure the Scheduler control to use its Classic Render Mode. This can be set via the RenderMode property.

You can find more information in this demo: Render Modes and the documentation.

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Navirius
Top achievements
Rank 1
answered on 09 Aug 2018, 05:13 AM

Hi Rumen

 

Thanks for answer, the problem is I run same code on both server, one server for dev environment, one server for production deploy with wsp, of course I use same RenderMode for both server, but it look like different

 

Any another suggestion?

0
Rumen
Telerik team
answered on 09 Aug 2018, 05:23 AM
Hi Navirius,


The difference of the appearance on the development and production servers is most likely due to that the browser is put in compatibility mode. 

Does the problem happen in IE only? Are you able to reproduce it in Chrome?

You can find explanation of this problem in the following article: Different appearance or behavior in Internet Explorer on local and production servers.


Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
Navirius
Top achievements
Rank 1
Answers by
Navirius
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or