Home Unanswered Active Tags New Question

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

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?..
Asked by Gourav Rana 5 years ago.
Replies
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 Dan Letecky 5 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 Anonymous 1 year 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.

Comment posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

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