Version

About Multi Day Event Banner

The WebDayView™ and WebMonthView™ WebSchedule™ controls can display a continuous banner for events that span multiple days, weeks, months, or years. The WebScheduleInfo™ component’s EnableMultiDayEventBanner property controls this feature, which is True by default. If EnableMultiDayEventBanner is set to false, a multiple day event displays as single blocks across multiple days.

You can also display arrows indicating the start and end dates that the event spans, by setting the EnableMultiDayEventArrows property, which is True by default.

WebScheduleGenericDataProvider About Multi Day Event Banner 01.png

The following code shows you how to disable multi-day event banner if you don’t need it.

In HTML:

<igsch:webscheduleinfo runat="server" ID="WebScheduleInfo1"
    EnableSmartCallbacks="True"
    EnableMultiDayEventBanner=" EnableMultiDayEventArrows=">
</igsch:webscheduleinfo>

In Visual Basic:

Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs)
    If Not Page.IsPostBack Then
        Me.WebScheduleInfo1.EnableMultiDayEventBanner = False
    End If
End Sub

In C#:

protected void Page_Init(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        this.WebScheduleInfo1.EnableMultiDayEventBanner = false;
    }
}