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

DayPilot Bubble Feature

Asked by Anonymous
10 years ago.

Is it possible for me to use Bubble feature?
Where can i download this tooltip?
I'm using DayPilotMonth Calendar.

Thanks :D

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

You need to follow these steps:

1. Create the bubble:
<DayPilot:DayPilotBubble 
ID="DayPilotBubble1" 
runat="server" 
CssOnly="true"
CssClassPrefix="bubble_default"
/>
2. Assign it to the monthly calendar (http://www.daypilot.org/month.html):
<DayPilot:DayPilotMonth ....
BubbleID = "DayPilotBubble1"
/>
3. Set the bubble HTML for events (7.4 syntax):
protected void DayPilotScheduler1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Scheduler.BeforeEventRenderEventArgs e)
{
  e.BubbleHtml = (string) e.DataItem["details"]; // assumes that your DataSource contains a field called "details"
}
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.