<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="Default.aspx.cs"
    Inherits="WebApplication1._Default" %>
<%@ Register Assembly="C1.Web.Wijmo.Controls.48"
    Namespace="C1.Web.Wijmo.Controls.C1Input"
    TagPrefix="wijmo" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

    <div class="container">
        <h2>Date Range Tester</h2>

        <div class="field">
            <label>Selected Date</label>
            <wijmo:C1InputDate ID="C1InputDate1" runat="server" />
        </div>

        <div class="field">
            <label>Mode</label>
            <asp:DropDownList ID="ddlMode" runat="server" CssClass="">
                <asp:ListItem Text="TS1 — Hourly"   Value="TS1" />
                <asp:ListItem Text="TS2 — Monthly"  Value="TS2" />
                <asp:ListItem Text="TS3 — Annually" Value="TS3" />
            </asp:DropDownList>
        </div>

        <asp:Button ID="Button1" runat="server" Text="Calculate Range"
            OnClick="Button1_Click" CssClass="btn btn-primary" />

        <div class="result-box" id="resultBox" runat="server" visible="false">
            <h3>Results</h3>
            <asp:Label ID="ResultLabel" runat="server" />
        </div>
    </div>
</asp:Content>