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

resources dynamic data Asp.net

Related article: HTML5 Scheduler with Dynamic Event Loading
Asked by Esperanza
3 years ago.

Do you have a example for ajax handler.ash asp.net ?? I need to fill dt.resources=datos_fro_db

thanks

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

There is now a new tutorial available that shows how to load resources and events in JSON format from a server-side endpoint created using ASP.NET Core:

https://code.daypilot.org/99410/javascript-html5-scheduler-in-asp-net-core

If you want to create an ashx handler in ASP.NET WebForms you can use a similar approach but you need to serialize the data yourself. ASP.NET Core uses Newtonsoft JSON (https://www.newtonsoft.com/json) for serialization and you can do the same.

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