Unformatted RadScheduler issue in SharePoint 2010

4 posts, 0 answers
  1. Neo
    Neo avatar
    30 posts
    Member since:
    May 2009

    Posted 28 Mar 2013 Link to this post

    Hi there. I'm trying to replace the OOB sharepoint calendar with the RadScheduler and bind it to an Events SharePoint list. I am able to add the RadScheduler to the page programatically as shown below. However, I am unable to set the skin or get it functional on the page. What are the DataRecurrenceField and DataRecurrenceParentKeyField? It throws an error if I set them with the values below - are they crucial?

    RadScheduler RadScheduler1 = new RadScheduler();
    DataTable lrTable = oList.Items.GetDataTable();
    DataView dv = new DataView(lrTable);
    RadScheduler1.DataSource = dv;
    RadScheduler1.DataSubjectField = "Title";
    RadScheduler1.DataStartField = "EventDate";
    RadScheduler1.DataEndField = "EndDate";
    RadScheduler1.DataKeyField = "ID";
    //RadScheduler1.Skin = "Windows7";
    //RadScheduler1.DataRecurrenceField = "RecurrenceRule";
    //RadScheduler1.DataRecurrenceParentKeyField = "RecurrenceParentID";
    RadScheduler1.DataBind();

    pnlCalendarView.Controls.Add(RadScheduler1);
    }

     

  2. Neo
    Neo avatar
    30 posts
    Member since:
    May 2009

    Posted 28 Mar 2013 Link to this post

    Here is the screenshot showing how it renders. yuk!
  3. Neo
    Neo avatar
    30 posts
    Member since:
    May 2009

    Posted 01 Apr 2013 Link to this post

    Turns out I was getting 404 errors on my ScriptResource.axd and WebResource.axd because I had a redirect setup in IIS. I removed this and the RadScheduler renders nicely.
  4. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 02 Apr 2013 Link to this post

    Hello,

    Thank you for contacting Telerik Support.

    I am glad to hear that you have resolved that issue and I would like to thank you for sharing your solution.

    Please do not hesitate to contact us if you have any further questions regarding our RadControls.

    Kind regards,
    Boyan Dimitrov
    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.
Back to Top