Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi
I need help with the following calendar control.

[Fullcalendar Control Demo]

So I get errors when reading the file into a mvc 5 C# solution.

The full calendar is exactly what I need, but I need to be able to input an email address, start time, end time and description into the event creation box.

So I managed to add the fields perfectly, but when I try and add it to my MVC solution I get the following errors:
1.
A Parser-blocking, cross-origin script, http://hm.baidu.com/h.js?d999331ad5ea0c0930f3aa7c3bda9fc1, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.

2.
(anonymous) @ Calender:100
wrapbg.jpgx Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.validationEngine-en.js:85 Uncaught TypeError: Cannot read property 'newLang' of undefined
    at HTMLDocument.<anonymous> (jquery.validationEngine-en.js:85)
    at Function.ready (jquery-1.4.2.min.js:328)
    at HTMLDocument.L (jquery-1.4.2.min.js:492)

3.
Calender:123 Uncaught TypeError: $(...).validationEngine is not a function
    at HTMLDocument.<anonymous> (Calender:123)
    at fire (jquery-1.11.3.js:3148)
    at Object.fireWith [as resolveWith] (jquery-1.11.3.js:3260)
    at Function.ready (jquery-1.11.3.js:3472)
    at HTMLDocument.completed (jquery-1.11.3.js:3503)


Please, can anyone help me display this calendar on a MVC page?

thank you in advance.

(Just to clarify, the author of the article states in the article that he no longer gives support for this project. Hence why I raised the question in a forum)

What I have tried:

googling, removing code, creating a white(blank) wrapbg.jpgx file
Posted
Updated 10-Apr-17 19:40pm
v2
Comments
CHill60 10-Apr-17 12:32pm    
Here's a random thought ... why not contact the author of that article?
ZurdoDev 10-Apr-17 14:25pm    
If more than one of us have the same thought, is it actually random?
CHill60 10-Apr-17 14:54pm    
I sort of want to say something profound about QA comparing it to forests and falling trees, but I've spent too much time in this forum in the last few days and I'm broken
Bryian Tan 10-Apr-17 23:06pm    
Definitely a random thought.
Member 9374423 11-Apr-17 1:04am    
Hi, on the page I linked it says that the author does not supply support for this anymore.

1 solution

1. Don't use document.Write. Chrome does not like it. Either use script tags or load them asynchronously using async with document.write. More information here: Google documentation[^]

2. Some URL in your code is not valid anymore. Check the invalid URL and correct it.

3. Make sure the jQuery's validationEngine JS is included.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900