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

What is the use of databinding and databind event of daypilot calander.

Asked by Gourav Rana
16 years ago.
i dont know the use of databinding and databind event of daypilot calander.because i am not able to pic anything at these events.
can some one explain me their use?..
Comment posted by Dan Letecky
16 years ago.
Please check this chapter from DayPilot Lite tutorial:

http://www.daypilot.org/data-binding.html

Let me know if something is not clear.
Comment posted by Anonymous
13 years ago.

Hi Dan,

Thumbs up for the wonderful control!

Coming to my question:

I am a newbie here. The link http://www.daypilot.org/data-binding.html explains how to bind a datasource to DayPilotCalendar1 control,
But my requirement is: depending upon the event info, I need to place anchor tags in each event. For this, I think I need to use "DayPilotCalendar1_DataBinding" or "DayPilotCalendar1_DataBound" events (as we do in a Gridview), but I can't do anything in these events. Please help me get started.

Thanks in advance.. Would be waiting for your reply..

Comment posted by Dan Letecky
13 years ago.

These two methods are inherited from DataBoundControl and I don't see much use for them actually. DayPilot doesn't expose the event list anywhere (it's only available internally).

In the Pro (paid) version, there is a BeforeEventRender events that does what you want - you have a chance to modify the properties of each event (including InnerHTML).

In the Lite version, you will have to make items field visible or hook PerformDataBinding() method.

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