<%@ Page Language="C#" MasterPageFile="~/Demo.master" AutoEventWireup="true" CodeFile="ShowHeader.aspx.cs"
Inherits="ShowHeader" Title="Calendar Day Header | DayPilot Lite for ASP.NET WebForms Demo" Culture="en-US" %>
<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem Value="False">Hide header</asp:ListItem>
<asp:ListItem Value="True">Show header</asp:ListItem>
</asp:DropDownList><br />
<br />
<daypilot:daypilotcalendar id="DayPilotCalendar1" runat="server" DataEndField="end" DataStartField="start" DataTextField="name" DataValueField="id" ShowHeader="false"
CssOnly="true"
CssClassPrefix="calendar_white"
></daypilot:daypilotcalendar>
</asp:Content>