Reputation: 1
Following the basic guildelines laid out in this blog (http://jake1164.blogspot.com/2010/06/jquery-fullcalendar-and-aspnet.html), i created an asp.net vb based web service that returns the following json data....however the calendar is not displaying any events. Any thoughts on what might be causing the issue ? thanks in advance.
<?xml version="1.0" encoding="utf-8"?><string xmlns="http://tempuri.org/">[{"id":1,"title":"Doctor D1","start":1279854594},{"id":2,"title":"Doctor D1","start":1279692000},{"id":3,"title":"Doctor D1","start":1279778400},{"id":4,"title":"Doctor D1","start":1280498809},{"id":5,"title":"Doctor D1","start":1280469600},{"id":6,"title":"Doctor D1","start":1280469600},{"id":7,"title":"Doctor D1","start":1280469600},{"id":8,"title":"Doctor D1","start":1280469600},{"id":9,"title":"Doctor D1","start":1280469600},{"id":10,"title":"Doctor D1","start":1280815200},{"id":11,"title":"Doctor D1","start":1280815200},{"id":12,"title":"Doctor D1","start":1280901600},{"id":13,"title":"Doctor D1","start":1281074400}]</string>
Upvotes: 0
Views: 987
Reputation: 12349
My guess is you didnt modify the fullcalendar script @ line ~421. the javascript eval function is required to convert the json into something fullcalendar can work with.
reportEventsAndPop = function(a) {
if (a.d) { var a = eval('(' + a.d.replace(/StartDate/g, 'start').replace(/EndDate/g, 'end') + ')'); }
reportEvents(a);
popLoading();
};
Upvotes: 1