search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Error ao inicialzar

Related article: Event Calendar for ASP.NET MVC 4 Razor (C#, VB.NET, SQL Server)
Asked by Robson Silva
3 years ago.

Fiz tudo conforme a documentação, o código apresenta o seguinte erro The request must start with 'JSON' string quando faço um get na url "Calendar/backend".
Como posso resolver este problema?

Answer posted by Dan Letecky [DayPilot]
3 years ago.

This is the URL of the backend controller (Calendar/backend) that handles the internal calls made by the client-side library. If you open it directly in the browser, you will receive an error because it expects a POST request with callback details.

If you open Home/Index view it will work fine - that page contains the user interface with the calendar component.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.