<%@ Page Language="C#" MasterPageFile="BSoylu.master" AutoEventWireup="true" CodeFile="BuHafta.aspx.cs" 
Inherits="_Default" Culture="tr-TR" %>
<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Button ID="Button2" runat="server" Text="ÖNCEKİ HAFTA" onclick="Button2_Click" 
        />
    <asp:Button ID="Button1" runat="server" Text="SONRAKİ HAFTA" 
        onclick="Button1_Click" />
          <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Visible="false">
            <asp:ListItem Value="hide">Hide non-business hours</asp:ListItem>
            <asp:ListItem Value="hideifpossible">Hide non-business hours (if possible)</asp:ListItem>
            <asp:ListItem Value="show">Show non-business hours</asp:ListItem>
        </asp:DropDownList><br />
<DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server" HourBorderColor="Black"
        DataTextField="name" 
        DataValueField="id" 
        TimeFormat="Clock24Hours" 
        DataStartField="Start" 
        DataEndField="End" 
        HeaderDateFormat="d MMMM yyyy "
        Days="7" 
        NonBusinessHours="Hide" 
        onbeforeeventrender="DayPilotCalendar1_BeforeEventRender"
        EventClickHandling="JavaScript"
        TimeRangeSelectedHandling="JavaScript"
        >
        </DayPilot:DayPilotCalendar>
</asp:Content>

