How would I go about showing the event count on a day view calendar? I can compute the count using the DayPilotCalendar1_BeforeEventRender, but I cannot display it on the screen. Is there a method that is called at the end of the calendar rendering? I have tried displaying it in a Literal in the BeforeEventRender both using an UpdatePanel and not and that doesn't work. I tried in the Unload method, etc
Answer posted by Dan Letecky [DayPilot] 12 years ago.
1. Server side:
You can count the number of items in your DataSource. It should match the number of visible events provided that you limit the SELECT properly (using StartDate and EndDate). Note that the events that don't fit into the visible range are not sent from the server side.
2. Client side:
Check dpc.events.list array in AfterRender event handler: