Home Unanswered Active Tags New Question

Disable the clicks

How can I disable the eventclicks and the clicks in the free area in the DayPilotLite-Scheduler?
The Scheduler is only for viewing.

Asked by Anonymous 2 years ago.
Replies
Just don't allow any events on the clicks.
Comment posted by Random Dude with a Big Red Nose and a Tophat. (now with rubber gloves) 1 year ago.

putthebelow codein the page_load() and try...

Schedular.FreeTimeClickHandling = DayPilot.Web.Ui.UserActionHandling.PostBack
Schedular.EventClickHandling = DayPilot.Web.Ui.UserActionHandling.PostBack

Answer posted by Anonymous 1 year ago.

Thank you this was very helpful. I was wondering why I couldn't get both the EventClick or FreeTimeClick events to work, and this exactly rectified the issue for me. I stumbled across this, after I simply wanted to just block the JS dialog box from displaying, and voila, it solved both of my issues.

Comment posted by Anonymous 4 months ago.
New Reply
This reply is
Your name (optional):

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