Home Unanswered Active Tags New Question

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

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.
Asked by Bhawesh Jha 3 years ago.
Replies
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>";
}
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