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

Calender event text and hover text

Asked by Jason
16 years ago.

What is the best way to insert a line break in the text for an event. Using an html line break <br> does work however the text that is displayed with you mouseover and event also shows the <br>. Is there a way to prevent the mouseover text from displaying or is there a better way to use a line break

thanks

Comment posted by Dan Letecky
16 years ago.
You can prevent ToolTip from being active by setting ShowToolTip property to false (applies to DayPilotCalendar). I'm going to add this property to DayPilotVertical as well in the next relase.

There is also a useful event - BeforeEventRender that will allow you to change InnerHTML both of the event and the ToolTip. Here you can replace <br> elements with '\n' character in the ToolTip.
Comment posted by Jason
16 years ago.
this the ShowToolTip property available on the lite version or just on the purchased versions?
Comment posted by Dan Letecky
16 years ago.
It's just in the Pro version, but see line 538 in DayPilotCalendar.cs of the Lite version.
Comment posted by Dan Letecky
16 years ago.
This property was added to DayPilot Lite 2.3.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.