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

DayPilotBubble's CSS is not accepting at run time

Asked by C. Farid
5 years ago.

I have a question, Could I load the CSS for DayPiolotBubble at run time (in .cs fine).

Here is my scenario: I have 4 themes when I change the theme dynamically, DayPilotNavigator and DayPilotScheduler are changing properly but not DayPilotBubble. Could you have any suggestion why this is not working for Bubble tooltip and Bubble resource.

Here is the code example:

OnPreRender(EventArgs e)
scheduler.CssClassPrefix = "scheduler_blue"; //Working
DayPilotNavigatorScheduler.CssClassPrefix = "navigator_blue"; //Working
DayPilotBubbleEvenement.CssClassPrefix = "bubble_blue"; //Not working
DayPilotBubbleResource.CssClassPrefix = "bubble_default"; //Not working
Thanks for your reply.

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

This happens because the bubble object is initialized in Load phase.

It's now updated in the the latest build (8.1.3472). You can download it in the sandbox:

Let me know if it didn't help.

Answer posted by C. Farid
5 years ago.


the "Theme" method resolves our issue with Bubble tooltip. Is the latest version available in our customers area ?


Comment posted by Dan Letecky [DayPilot]
5 years ago.

This is a development build - a new SP release will be available in the customer area in a few days.

Comment posted by C. Farid
5 years ago.

What about CSS for bubble theme's ?
You have attached a sample "bubble_default" css class,
It will be great and thankful if you have attached few CSS class for bubble like Green theme, blue theme, Windows8 theme and Transparents theme.

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