DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Features » creating a new event by clicking a freespace

creating a new event by clicking a freespace

Hi,
rite now if an event is present we'll be able to edit the event subject by just clicking on it (ie by setting the eventClickHandling as edit ). I wanted to know whether the same is possible by clicking on a free time range and create an event , rather than open a new popup and create the event... Hoping to see a reply. I have posted a query with topic named month view. it wud be great if someone gives a reply to that too.

thanks in advance

Hisham - 6/6/2008 2:05:36 PM
Hi and sorry for the delay:

It's possible to create the event immediately after the time range is selected (or a time cell clicked) - that's possible if you set TimeRangeSelected="CallBack" or "PostBack". TimeRangeSelected event will be fired and in the event handler you can create the event easily (remember to call DayPilotCalendar1.DataBind() and Update() to refresh the events on the client side).
Dan Letecky - 6/14/2008 5:31:07 PM
Post reply