Home Unanswered Active Tags New Question

Update DayPilot and GridView with Callback

Hello,

is it possible to update a GridView and the DayPilot Schedular with one callback?

I've a Page with the Schedular and a Gridview and i update them per postback. But then i lost the focus of the schedular an the control repaints again.

But when i update the schedular with callback i've to update the GridView (in an UpdatePanel) with javascript after the callback of the schedular finished. so i've 2 requests for one action.

Is there an possibility to have only one callback which updates the Gridview and the schedular?

Greetings

Stefan

Asked by Stefan Lederer 3 years ago.
Replies

CallBack can be used primarily for changes of the DayPilot control itself. Changes to other parts of the page have to be done manually using AfterRenderJavaScript.

It would be possible to send the data for the grid using Update() and update the grid using custom code in AfterRenderJavaScript but it's not too convenient.

See also:
http://www.daypilot.org/scheduler-callback-update.html

Answer posted by Dan Letecky [DayPilot] 11 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java