<%@ Page Language="vb" MasterPageFile="~/Demo.master" AutoEventWireup="true" 
CodeFile="HeaderDateFormat.aspx.vb" Inherits="HeaderDateFormat" Title="Header Date Format (Calendar) | DayPilot Pro 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">

    <div class="note">
        <b>Note:</b> Read more about the <a href="http://doc.daypilot.org/calendar/header-date-format/">header date format</a> [doc.daypilot.org].
    </div>

    <div class="note">
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
        <asp:ListItem Value="d">Short date (d)</asp:ListItem>
        <asp:ListItem Value="D">Long date (D)</asp:ListItem>
        <asp:ListItem Value="m">Month day (m)</asp:ListItem>
        <asp:ListItem Value="dddd">Custom (dddd)</asp:ListItem>
        <asp:ListItem Value="ddd">Custom (ddd)</asp:ListItem>
        <asp:ListItem Value="dd">Custom (dd)</asp:ListItem>
        <asp:ListItem Value="%d">Custom (%d)</asp:ListItem>
        <asp:ListItem Value="M/dd">Custom (M/dd)</asp:ListItem>
        <asp:ListItem Value="M/d">Custom (M/d)</asp:ListItem>
        <asp:ListItem Value="d MMMM yyyy">Custom (d MMMM yyyy)</asp:ListItem>
        <asp:ListItem Value="yyyy-MM-dd">Custom (yyyy-MM-dd)</asp:ListItem>
    </asp:DropDownList>
    </div>

    <daypilot:daypilotcalendar id="DayPilotCalendar1" runat="server" 
        DataEndField="end" 
        DataStartField="start" 
        DataTextField="name" 
        DataIdField="id" 
        ViewType="Week"
        ></daypilot:daypilotcalendar>
</asp:Content>