| Issue 609: | eventclick function and 'X-Requested-With' | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I'm initializing a calendar with the following code, when i click on an event ASP.NET MVC's IsAjaxRequest() is evaluated as false. A possible explanation of this might be as explained in this stackoverflow post. http://stackoverflow.com/questions/3501513/request-isajaxrequest-not-being-triggered Is the hypothesis in the answers correct? Does the eventclick function not return XMLHttpRequest? $(document).ready(function() { $('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, events: "/Events/CalendarData", allDayDefault: false, selectable: true, eventClick: function(event) { $('details').load(event.url); }, eventRender: function(event, element) { element.qtip({ content: event.title + " @ " + event.venue, position: { corner: { target: 'topLeft', tooltip: 'bottomLeft' } } }); } }); });
Aug 25, 2010
Project Member
#1
adamrs...@gmail.com
Status:
Done
Aug 26, 2010
Ok, Cheers for the response |
|
| ► Sign in to add a comment |