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

How to change PerformDataBinding for changing the text displayed in text for Calendar?

Asked by Anonymous
10 years ago.

Hello I just need to keep the name and not the start time and end time in the cell.

Is it possible in calendar lite to change the label from name start end to name only?

Thanks for your help :)

Nicolas

Answer posted by Dan Letecky [DayPilot]
10 years ago.

You can use BeforeEventRender event to modify the event HTML as needed.

protected void DayPilotCalendar1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Calendar.BeforeEventRenderEventArgs e)
{
  e.InnerHTML = e.Text;
}

See also:

http://doc.daypilot.org/calendar/event-customization/

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