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

daypilotbubble has no "e.argument" property in rendercontent event

Asked by Bhawesh Jha
15 years ago.
Hello

I have just upgraded to license version DayPilotPro-4.8.1425 from DayPilotProTrial-4.4.1357. And i received a problem in rendercontent event with e.Argument property. There is no e.Argument property in latest version. Please suggest.
Comment posted by Dan Letecky
15 years ago.
In DayPilot Pro 4.5 (see also) the Bubble was generalized and it now shows ToolTips for other objects as well (time cells, headers).

You should cast the RenderEventArgs to RenderEventBubbleEventArgs (see example from Demo/Calendar/Default.aspx.cs):

if (e is RenderEventBubbleEventArgs)
{
RenderEventBubbleEventArgs re = e as RenderEventBubbleEventArgs;
re.InnerHTML = "<b>Event details...</b>";
}
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.