1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Problem in Calender control (i.e EventScheduleView) in Sitefinity 3.6 version.

Problem in Calender control (i.e EventScheduleView) in Sitefinity 3.6 version.

6 posts, 0 answered
  1. Anuj
    Anuj avatar
    13 posts
    Registered:
    12 Dec 2008
    23 Apr 2009
    Link to this post

    Hi 

    I have upgraded my sitefinity to 3.6 version.

    My calendar default view is now set to day. I want to change this to Month view.

    I have not found any mapping for calendar control (i.e "\Sitefinity\ControlTemplates\CalendarEvents\EventsScheduleView.ascx" )in Telerik.Sitefinity.Configuration.ControlsConfig.xml file.

    I also used "\Sitefinity\ControlTemplates\Events\EventsScheduleView.ascx"
    as an external template for EventsScheduleView but it is also not working.

    Please suggest me a solution.

    Thank you
    Anuj Marya

  2. Stoyanka Assenova
    Stoyanka Assenova avatar
    113 posts
    Registered:
    01 Dec 2016
    23 Apr 2009
    Link to this post
    Hello Anuj,

    You should use external template for the EventsSchedule control.

    Please take the following steps:
    1. Paste "Telerik.Sitefinity.Configuration.ControlsConfig.xml" file in the \App_Data\Configuration folder

    <?xml version="1.0" encoding="utf-8"?>
    <controlsConfig>
      <viewMap>
        <!--Gets or sets the url to EventsScheduleView template.-->
        <viewSettings hostType="Telerik.Events.WebControls.EventsScheduleView" layoutTemplatePath="~/Sitefinity/ControlTemplates/Events/EventsScheduleView.ascx" />
      </viewMap>
    </controlsConfig>

    2. Reset IIS. If you change "Telerik.Sitefinity.Configuration.ControlsConfig.xml" file you should reset IIS as well.
    3. Paste EventsScheduleView.ascx file in the Sitefinity\ControlTemplates\Events folder
    4. Open the EventsScheduleView.ascx file and add SelectedView="MonthView" in the RadScheduler

    <telerik:RadScheduler SelectedView="MonthView" ID="eventsSchedule" runat="server">

    5. Save the EventsScheduleView.ascx file
    6. Go to the page with EventsSchedule control
    You will see that Month view selected by default.

    If you have any problem, don't hesitate to contact us.

    Sincerely yours,
    Stoyanka Assenova
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Chanan Zass
    Chanan Zass avatar
    123 posts
    Registered:
    21 Aug 2012
    23 Apr 2009
    Link to this post
    Dealt with the same event scheduler problem today.
    Followed all the above -- to no avail.
    Everything began to work properly only after I've removed the Calendar skin files in the App_Themes/[YourDefaultTheme] folder:
    - [YourDefaultTheme].skin
    - Calendar folder within the theme folder.

    In short, calendar theme affects the scheduler.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Apr 2009
    Link to this post
    Hello Chanan Zass,

    Your approach is possible if you apply this certain theme to a page and you have custom skin for EventsScheduleView control. If you have added skin property and you have enabled using of EnableEmbeddedSkins property, it is not possible your control to use other skins, due to missing references. Also, declaring properties directly in the control declaration has higher priority that setting them externally.

    I hope this helps.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Chanan Zass
    Chanan Zass avatar
    123 posts
    Registered:
    21 Aug 2012
    24 Apr 2009
    Link to this post
    My comment was meant just to help people who might encounter a similar problem to the one we've faced.
    We kept the Telerik International University TIU theme with its skins for calendar, rotator, etc. In our case the TIU calendar skin basically blocked access to the scheduler control template.
    Just sharing our experience.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Apr 2009
    Link to this post
    Hi Chanan Zass,

    Thank you for your help in the community. We appreciate this and we will be glad to see your suggestion.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
6 posts, 0 answered