Home Unanswered Active Tags New Question

How to call a java script on the callback of DayPilotCalendar1_TimeRangeSelected event

Hi Dan,

Can u tell me how to call a java script on the callback of DayPilotCalendar1_TimeRangeSelected event. Expalin with example

regards

Poting

Asked by Anonymous 4 years ago.
Replies
We are discussing the issue privately. I'm going to post a summary as soon as it is resolved.
Comment posted by Dan Letecky 4 years ago.

Dear developer!

Did you have any answer to your question? I'm trying to call a javascript on the callback of DayPilotCalendar1_EventMenuClick event. It is the same problem I feel. Can you please help me?

Regards, Melitta

draschi@mail.datanet.hu

Comment posted by Melitta 4 years ago.
This scenario is supported since 4.1 release. See the release notes (follow that link) for a short explanation and an example (see (F) Sending custom data back to the client after a CallBack (DayPilotCalendar & DayPilotScheduler)). A working example can be found in Demo/Calendar/Default.aspx/.cs.

Basically, you call DayPilotCalendar1.Update("Your data") and load that string in AfterRenderJavaScript on the client side.
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

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