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 3272190
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:48:03+00:00 2026-05-17T18:48:03+00:00

I added the calendar to my asp.net mvc 2 application from here . I

  • 0

I added the calendar to my asp.net mvc 2 application from here .

I want to pick the selected date where I am going to enter the event. How can I get selected date?

Also I want to save this date and corresponding event to the database. How to do this also ?

  • 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-17T18:48:04+00:00Added an answer on May 17, 2026 at 6:48 pm

    Use this code when you setup the plugin

    $('#calendar').fullCalendar({
        selectable: true,
        select: function(start, end, jsEvent, view) {
             // start contains the date you have selected
             // end contains the end date. 
             // Caution: the end date is exclusive (new since v2).
             var allDay = !start.hasTime() && !end.hasTime();
             alert(["Event Start date: " + moment(start).format(),
                    "Event End date: " + moment(end).format(),
                    "AllDay: " + allDay].join("\n"));
        }
    });
    <link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.1.1/fullcalendar.min.css" rel="stylesheet"/>
    <link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.1.1/fullcalendar.print.css" rel="stylesheet" media="print"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.3/moment.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.1.1/fullcalendar.min.js"></script>
    <div id="calendar"></div>

    Please note that I have just included the options needed to answer your question.

    For further information refer to the very good made plugin documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have added to my page an asp.net calendar control and i would like
I want to get calendar event updates (when a new event is added or
I am implementing the full calender in jquery in my asp.net mvc application by
I am using Kal calendar from http://github.com/klazuka/Kal . I want to use this calendar
I've built an ASP.net web application which allows the users to view and make
I am building an appointment booking system web application in asp.net in VB, Im
I have installed the sample Calendar project from here . When I run this
I added a button that is supposed to open a calendar 'date-picker'. The button
We have a calendar in our web application. Events can be added to the
I'm creating a small app in ASP.NET MVC that generates ics (iCal) files based

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.