Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6931421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:34:30+00:00 2026-05-27T11:34:30+00:00

I am working with the jQuery fullcalendar plugin and mvc3. jQuery: $(document).ready(function () {

  • 0

I am working with the jQuery fullcalendar plugin and mvc3.

jQuery:

$(document).ready(function () {

    var calendar = $('#calendar').fullCalendar({
        header: {
            left: 'prev, next, today',
            center: 'title',
            right: 'month, agendaWeek, agendaDay'
        },
        events: 'CalendarView/GetEvents/'
    });
});

Controller (It doesn’t get into this function):

public JsonResult GetEvents(double start, double end)
    {
        var DateStart = ConvertFromUnixTimestamp(start);
        var DateEnd = ConvertFromUnixTimestamp(end);
        var JsonRfc = Repo.getCalendar(DateStart, DateEnd);
        var ret = JsonRfc.ToArray();
        return Json(ret, JsonRequestBehavior.AllowGet);
    }

The code inside the controller never gets executed. Does anyone have any insight as to why?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:34:32+00:00Added an answer on May 27, 2026 at 11:34 am

    Ensure that the path to your controller/action is correct. Depending on how your app is installed it may or may not be right. As long as your javascript code is inside one of your views you might try with

    events: '@Url.Action("GetEvents","CalendarView")' 
    

    You definetly should, as @Phil.Wheeler suggested, take a closer look at what will pop up in Firebug / IE Developer Tools / Chrome Developer tools. (or try http://www.fiddler2.com/fiddler2/ if you want something outside of your browser )

    The other way you might want to try is retrieving JSON object first with

    $.getJSON('CalendarView/GetEvents/', function(data) {
    
        var calendar = $('#calendar').fullCalendar({
            header: {
                left: 'prev, next, today',
                center: 'title',
                right: 'month, agendaWeek, agendaDay'
            },
            events: data
        });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently using jQuery FullCalendar as a calendar system, and it is working
I'm working on a small app that makes use of the jQuery plugin Fullcalendar.
I have the fullcalendar jQuery plugin working, but I'd like to show more data
I'm working with the fullcalendar jQuery plugin and I'm trying to populate my events
for some reason my event data isn't working correctly with jquery fullcalendar when I
I have created a jquery fullcalendar, pulling the feed from a google calendar and
I am implementing FullCalendar jquery with asp.net mvc 3. It's working fine but the
I am working with jQuery and when I call the removeClass() function is not
I'm trying to use the jquery.fullcalendar plugin using the jQuery UI theming. Everything is
I'm using the jQuery FullCalendar plug-in for a project I'm working on, and I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.