Full Calender in JQUERY using webservices in Asp.Net
Posted
by inkmca
on Stack Overflow
See other posts from Stack Overflow
or by inkmca
Published on 2010-04-19T17:12:41Z
Indexed on
2010/04/19
17:13 UTC
Read the original article
Hit count: 228
jQuery
|fullcalendar
hi, this is My code it works fine for getting data and parsing but i am unable to get events displayed ..... please let me know possible reason very urgent,
i feel callback(evnt) not working here.............
events: function(callback) { $.ajax({ type: "POST", url: "WebService.asmx/hello", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { var evnt = []; $(data.d).find('event').each(function() {
evnt.push({
// title: $(this).attr('title'), // start: $(this).attr('start'), // end: $(this).attr('end') title: 'Events1', start: '2010-04-01', end: '2010-04-10' });
});
alert('called end');
callback(evnt);
},
error: OnError
});
}
© Stack Overflow or respective owner