AN
Anonymous
April 1, 2008 04:18 PM UTC
This is a defect that we will correct in our library. Until there is a release with this corrected, you can avoid the problem by handling the display item parsing event and do the parsing yourself.
this.scheduleControl1.ParseDisplayItem += new ParseDisplayItemEventHandler(scheduleControl1_ParseDisplayItem);
//....
void scheduleControl1_ParseDisplayItem(object sender, ParseDisplayItemEventArgs e)
{
if (e.Format == "[subject] [starttime] - [endtime]")
{
string s = string.Format("{0} ", e.Item.Subject);
s += e.Item.StartTime.ToString(this.scheduleControl1.Appearance.TimeFormat, this.scheduleControl1.Culture);
s += " " + e.Item.EndTime.ToString(this.scheduleControl1.Appearance.TimeFormat, this.scheduleControl1.Culture);
e.FormattedText = s;
e.Handled = true;
}
}