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

How to show a page error from callback

Asked by Anonymous
6 years ago.

How to i can show a specific error in the page from a DayPilot Scheduler callback? I cannot use updateWithMessage because i need show outside scheduler area.

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

You can pass custom data to Update() method on the server side.

This data will be available in the client-side AfterRender event handler (AfterRenderJavaScript property):

See also:
https://doc.daypilot.org/scheduler/callback-update/

Let me know if it didn't help.

Comment posted by Ivan
6 years ago.

Thanks, it works.
I was using exactly AfterRenderJavaScript method but with UpdateWithMessage method.

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