<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Styles/Calendar.Special.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">

        function DateClick(sender, args) {
            radopen("http://www.google.com");
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        </telerik:RadWindowManager>
        <telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="false" Skin="Special"
            EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" EnableMonthYearFastNavigation="false"
            DayNameFormat="Short" ShowRowHeaders="false" ShowOtherMonthsDays="false" OnDefaultViewChanged="RadCalendar1_DefaultViewChanged">
            <HeaderTemplate>
                <asp:Image ID="HeaderImage" runat="server" Width="757" Height="94" Style="display: block" />
            </HeaderTemplate>
            <FooterTemplate>
                <asp:Image ID="FooterImage" runat="server" Width="757" Height="70" Style="display: block" />
            </FooterTemplate>
            <SpecialDays>
                <telerik:RadCalendarDay Date="2009/06/12" Repeatable="DayInMonth" TemplateID="DateTemplate" />
                <telerik:RadCalendarDay Date="2009/06/19" Repeatable="DayInMonth" TemplateID="DateTemplate" />
                <telerik:RadCalendarDay Date="2009/06/17" Repeatable="DayInMonth" TemplateID="MortgageTemplate" />
                <telerik:RadCalendarDay Date="2009/06/8" Repeatable="DayAndMonth" TemplateID="BirthdayTemplate" />
                <telerik:RadCalendarDay Date="2009/08/7" Repeatable="DayAndMonth" TemplateID="BirthdayTemplate" />
                <telerik:RadCalendarDay Date="2009/10/8" Repeatable="DayAndMonth" TemplateID="BirthdayTemplate" />
                <telerik:RadCalendarDay Date="2009/12/23" Repeatable="DayAndMonth" TemplateID="BirthdayTemplate" />
                <telerik:RadCalendarDay Date="2010/2/14" Repeatable="DayAndMonth" TemplateID="BirthdayTemplate" />
            </SpecialDays>
            <CalendarDayTemplates>
                <telerik:DayTemplate ID="DateTemplate" runat="server">
                    <Content>
                        <div class="rcTemplate rcDayDate">
                            date
                        </div>
                    </Content>
                </telerik:DayTemplate>
                <telerik:DayTemplate ID="MortgageTemplate" runat="server">
                    <Content>
                        <div class="rcTemplate rcDayMortgage">
                            mortgage
                        </div>
                    </Content>
                </telerik:DayTemplate>
                <telerik:DayTemplate ID="BirthdayTemplate" runat="server">
                    <Content>
                        <div class="rcTemplate rcDayBirthday">
                            birthday
                        </div>
                    </Content>
                </telerik:DayTemplate>
            </CalendarDayTemplates>
            <ClientEvents OnDateClick="DateClick" />
        </telerik:RadCalendar>
    </div>
    </form>
</body>
</html>
