<%@ Page CodeFile="DefaultCS.aspx.cs" Language="c#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Calendar.Functionality.CustomDatePicker.DefaultCS" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
<link href="styles.css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="containerDiv" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="ConfigurationPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<div class="header size-thin">Automatic replies - I’m away ...</div>
<div class="demo-container size-thin" runat="server" id="containerDiv">
<div style="padding-bottom: 5px;">
<asp:RadioButton ID="RadioButton1" runat="server" AutoPostBack="true" GroupName="Group1" />
<asp:Label ID="Label1" runat="server" AssociatedControlID="RadioButton1" Text="Do not send automatic replies"></asp:Label>
</div>
<asp:RadioButton ID="RadioButton2" runat="server" AutoPostBack="true" GroupName="Group1" Checked="true" />
<asp:Label ID="Label2" runat="server" AssociatedControlID="RadioButton2" Text="Send automatic replies"></asp:Label>
<br />
<div id="timeslot">
<asp:CheckBox Text="Only send during this time range:" runat="server" Checked="true" />
<telerik:RadDateRangePicker runat="server" ID="RadDateRangePicker1">
<StartDatePicker>
<DateInput Label="Start date: "></DateInput>
</StartDatePicker>
<EndDatePicker>
<DateInput Label="End date: "></DateInput>
</EndDatePicker>
</telerik:RadDateRangePicker>
</div>
<hr class="demo-separator" />
<asp:Label runat="server" AssociatedControlID="txt1" Text="Automatically reply once for each sender with the following messages:"></asp:Label>
<asp:TextBox runat="server" ID="txt1" TextMode="MultiLine" class="replyTextarea"></asp:TextBox>
<telerik:RadButton RenderMode="Lightweight" ID="RadButton1" runat="server" Text="Ok" Width="80px"></telerik:RadButton>
<telerik:RadButton RenderMode="Lightweight" ID="RadButton2" runat="server" Text="Cancel" Width="80px"></telerik:RadButton>
<telerik:RadFormDecorator RenderMode="Lightweight" runat="server" DecorationZoneID="containerDiv" EnableRoundedCorners="false" />
</div>
<asp:Panel ID="Panel1" runat="server">
<qsf:ConfiguratorPanel ID="ConfigurationPanel1" runat="server" Orientation="Vertical"
Expanded="true">
<Views>
<qsf:View Title="Localization">
<qsf:ConfiguratorColumn ID="ConfiguratorColumn6" runat="server" Size="Narrow">
<ul class="fb-group">
<li>
<qsf:ComboBox ID="rcbCulture" runat="server" AllowCustomText="false" Label="Choose Language for StartTime picker" AutoPostBack="true" Size="Medium">
<Items>
<telerik:RadComboBoxItem Value="en-US" Text="English"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="de-DE" Text="German"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="fr-FR" Text="French"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="af-ZA" Text="Afrikaans - South Africa"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="sq-AL" Text="Albanian - Albania"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="hy-AM" Text="Armenian - Armenia"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="be-BY" Text="Belarusian - Belarus"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="bg-BG" Text="Bulgarian - Bulgaria"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="ca-ES" Text="Catalan - Catalan"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="hr-HR" Text="Croatian - Croatia"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="cs-CZ" Text="Czech - Czech Republic"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="da-DK" Text="Danish - Denmark"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="nl-BE" Text="Dutch - Belgium"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="nl-NL" Text="Dutch - The Netherlands"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="en-AU" Text="English - Australia"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="en-CA" Text="English - Canada"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="fr-FR" Text="French - France"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="hu-HU" Text="Hungarian - Hungary"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="ro-RO" Text="Romanian - Romania"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="sw-KE" Text="Swahili - Kenya"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="sv-FI" Text="Swedish - Finland"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="sv-SE" Text="Swedish - Sweden"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Value="tt-RU" Text="Tatar - Russia"></telerik:RadComboBoxItem>
</Items>
</qsf:ComboBox>
</li>
</ul>
</qsf:ConfiguratorColumn>
</qsf:View>
<qsf:View Title="Date Settings">
<qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Size="Narrow">
<ul class="fb-group">
<li>Date settings for StartTime picker
</li>
<li>
<qsf:DatePicker ID="rdpMinDate" runat="server" Label="MinDate" AutoPostBack="true"
DateInput-EmptyMessage="MinDate" MinDate="01/01/1000" MaxDate="01/01/3000" Size="Medium">
</qsf:DatePicker>
</li>
<li>
<qsf:DatePicker ID="rdpMaxDate" runat="server" Size="Medium" Label="MaxDate" AutoPostBack="true"
DateInput-EmptyMessage="MaxDate" MinDate="01/01/1000" MaxDate="01/01/3000">
</qsf:DatePicker>
</li>
<li>
<qsf:ComboBox ID="rcbDateFormat" runat="server" Label="DateFormat" AutoPostBack="true" Size="Medium">
<Items>
<telerik:RadComboBoxItem Text="Short Date" Value="d" Selected="true"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Text="MMM d yyyy" Value="MMM d yyyy"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Text="dd MMM" Value="dd MMM"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Text="yyyy/dd/MMM" Value="yyyy/dd/MMM"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Text="dd/MMM/yy" Value="dd/MMM/yy"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Text="Long Date" Value="D"></telerik:RadComboBoxItem>
</Items>
</qsf:ComboBox>
</li>
</ul>
</qsf:ConfiguratorColumn>
</qsf:View>
<qsf:View Title="Popup Settings">
<qsf:ConfiguratorColumn ID="ConfiguratorColumn3" runat="server" Size="Wide">
<ul class="fb-group">
<li>
<asp:Label ID="Label3" Text="Popup Settings for DateRange picker" runat="server"></asp:Label></li>
<li>
<qsf:ComboBox ID="rcbPopupAnimation" runat="server" AutoPostBack="true" Label="Popup animation " AllowCustomText="false" Size="Medium">
<Items>
<telerik:RadComboBoxItem Text="Fade" Value="Fade" Selected="true"></telerik:RadComboBoxItem>
<telerik:RadComboBoxItem Text="Slide" Value="Slide"></telerik:RadComboBoxItem>
</Items>
</qsf:ComboBox>
</li>
</ul>
</qsf:ConfiguratorColumn>
<qsf:ConfiguratorColumn ID="ConfiguratorColumn4" runat="server" Size="Narrow">
<ul class="fb-group">
<li>
<qsf:TextBox ID="riTooltip" runat="server" AutoPostBack="true" Label="Date PopUp Tooltip"
Size="Wide">
</qsf:TextBox>
</li>
</ul>
</qsf:ConfiguratorColumn>
<qsf:ConfiguratorColumn ID="ConfiguratorColumn2" runat="server" Size="Wide">
<ul class="fb-group">
<li>
<span class="checkbox">
<asp:CheckBox runat="server" ID="chkEnableShadows" Checked="true" Text="Enable shadows"
AutoPostBack="True" OnCheckedChanged="chkEnableShadows_CheckedChanged"></asp:CheckBox></span>
</li>
<li>
<span class="checkbox size-wide">
<asp:CheckBox ID="chkShowButton" runat="server" Checked="true" AutoPostBack="true"
Text="Show date popup button"></asp:CheckBox></span>
</li>
<li>
<span class="checkbox size-wide">
<asp:CheckBox ID="chkShowPopupOnFocus" runat="server" Checked="true" AutoPostBack="true"
Text="Show popup on textbox focus"></asp:CheckBox></span>
</li>
<li>
<span class="checkbox size-wide">
<asp:CheckBox ID="chkEnableScreenBoundaryDetection" runat="server" Checked="true"
AutoPostBack="true" Text="Enable screen boundary detection"></asp:CheckBox></span>
</li>
</ul>
</qsf:ConfiguratorColumn>
</qsf:View>
</Views>
</qsf:ConfiguratorPanel>
</asp:Panel>
</form>
</body>
</html>