Home Unanswered Active Tags New Question

Bubble

Hi,

I have a trial of the DaypilotScheduler which is connected to a sql data source. There is a sample describing how to pop up a bubble with the event id, but how do I fill a bubble with data from the datatagfields already retrieved from the sql datasource? In other cases with click events there is access to the tag values but it looks like they are missing with a bubble event?

Asked by Christoffer 3 years ago.
Replies
Yes, at this moment only the ID is available (DataValueField).

It was designed this way:
  1. If you are able to create the bubble content from the fields that go with the event (start, end, tags, etc.) you don't need the dynamic loading from the server.
  2. It's usually more effective to load that single record from the DB in the DayPilotBubble.RenderContent event handler than sending all the data back to the server (the IIS-SQL connection is typically much faster than IIS-client connection).
I agree that there is one chain link missing - it's not possible to create the bubble content on the client side. So the solution would be either:
  • send the full event data back to the server
  • provide tools for creating the bubble content on the client-side without going back to the server (template, JavaScript handler...)
By the time it's extended you should load the additional data it from the DB.
Comment posted by Dan Letecky 3 years ago.
New Reply
This reply is
Your name (optional):

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