DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Calendar: Bug in InnerHtml (BeforeEventRender) when text contains double spaces

Calendar: Bug in InnerHtml (BeforeEventRender) when text contains double spaces

When using the BeforeEventRender event to customize the text shown in the calendar events the web work process never returns if the text that is rendered contains two or more spaces after each other. As in this example:

<pre>
Protected Sub uxDayPilot_BeforeEventRender(ByVal sender As Object, ByVal e As ...
e.InnerHtml = "<b>Hello World</b>" '<-- two spaces between the words Hello and World
End Sub
</pre>

Joacim - 2/6/2008 1:50:47 PM
I can't guarantee that there is no bug that causes what you describe but it doesn't seem to be related to double spaces. I've tried to change Demo/Calendar/Default.aspx.cs according to your sample but that doesn't reproduce the bug (both the initial rendering and callback work good).

Are you able to provide reproduction steps for some page in the demo?
Dan Letecky - 2/11/2008 9:51:11 PM
Post reply