Click here to Skip to main content
14,640,409 members
Rate this:
Please Sign up or sign in to vote.
See more: , +
For a final project I want to insert this calendar into my project. https://codepen.io/peanav/pen/ulkof

I have been unable to insert the calendar into my Visual Studio project and get it to work.

Thank you for your help :)

What I have tried:

I have inserted the html, css, and js code but have not been able to get the calendar to show up when I run my visual studio solution. The code I used from the link has not been changed at all. I have put the html code in my Default.aspx file, the css code is linked into the aspx file and included in path from Bundle.config. Finally for the js file, I created a folder called "js" and put the file into there.

I am not sure what I need to do to be able to get this run.
Posted
Updated 16-Dec-19 11:21am
v2
Comments
phil.o 16-Dec-19 18:06pm
   
You need to open your browser's console and begin to collect some actual information about what is going on :)
Member 14691623 16-Dec-19 18:57pm
   
Wow thank you so much! :) found some more information and got a fix on stack overflow for that error. I am not receiving a different error about the js code. It says that moment() is not defined from line 3. Trying to trouble shoot that now :/
ZurdoDev 17-Dec-19 9:09am
   
If moment is not defined then it is because the moment.js is not loaded when that code is running.
dnxit 23-Dec-19 0:55am
   
you can use some cdn to include e.g.
https://momentjs.com/downloads/moment.js

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100