Recurrence Editor have different layout on different server

5 posts, 0 answers
  1. Navirius
    Navirius avatar
    5 posts
    Member since:
    Feb 2015

    Posted 03 Aug 2018 Link to this post

    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

  2. Navirius
    Navirius avatar
    5 posts
    Member since:
    Feb 2015

    Posted 03 Aug 2018 Link to this post

    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?

     

  3. Rumen
    Admin
    Rumen avatar
    13705 posts

    Posted 08 Aug 2018 Link to this post

    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.
  4. Navirius
    Navirius avatar
    5 posts
    Member since:
    Feb 2015

    Posted 09 Aug 2018 Link to this post

    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?

  5. Rumen
    Admin
    Rumen avatar
    13705 posts

    Posted 09 Aug 2018 Link to this post

    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.
Back to Top