<%@ Page Title="" Language="C#" MasterPageFile="~/Book/Book.master" AutoEventWireup="true" CodeBehind="MySchedular.aspx.cs" Inherits="Book.Book.MySchedular" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cont_form" runat="server">


 <link href="Style/themes.css" rel="stylesheet" type="text/css" />
  <link href="style/elements.css" rel="stylesheet" type="text/css" />
 



   <table class="table"  cellSpacing="1" cellPadding="0" width="100%" border="0">
	  <tr>
		 <td class="tr_biaoti" colspan="4"> &nbsp;
		 <input name="writetime1" type="radio" checked>日视图&nbsp;&nbsp;
		 <input name="writetime2" type="radio"  onclick="window.location='MySchedularmonth.aspx'" >月视图&nbsp;&nbsp;
		  </td>
	 </tr>
</table>

 <table style="width:100%">
        <tr>
            <td valign="top" style="width:150px">
                <DayPilot:DayPilotNavigator ID="DayPilotNavigator1" runat="server" 
                    BoundDayPilotClientObjectName="dpc1" 
                    SelectMode="Day"
                    ShowMonths="2"
                     CssClassPrefix="navigator_silver_"
                    DataStartField="begintime"
                    DataEndField="endtime" 
                    VisibleRangeChangedHandling="CallBack"
                    OnVisibleRangeChanged="DayPilotNavigator1_VisibleRangeChanged"
                    ></DayPilot:DayPilotNavigator>
                <br />
                <br />
                <div style="height:20px"></div>        
            </td>
            <td valign="top">
                <daypilot:daypilotcalendar 
                    ContextMenuSelectionID="DayPilotMenuSelection"
                    ContextMenuID="DayPilotMenu1"  
                    TimeFormat="Auto" 
                    Width="640"
                    id="DayPilotCalendar1" runat="server" 
                    datastartfield="begintime" 
                    dataendfield="endtime" 
                    datatextfield="title" 
                    datavaluefield="id" 
                    datatagfields="title, id"
                    CssClassPrefix="calendar_silver_"
                    Days="2" 
                    ClientObjectName="dpc1" 
                    OnTimeRangeSelected="DayPilotCalendar1_TimeRangeSelected" 
                    TimeRangeSelectedHandling="Hold" 
                    xHeightSpec="BusinessHours" 
                
                     
                    EventDeleteHandling="JavaScript" 
                    OnEventDelete="DayPilotCalendar1_EventDelete" 
                    EventDeleteJavaScript="if (confirm('确定要删除吗?')) dpc1.eventDeleteCallBack(e);" 
                
                    OnEventEdit="DayPilotCalendar1_EventEdit" 
                    EventEditHandling="CallBack" 
                    EventDoubleClickHandling="Edit"
                    
                    
                    
                    TimeRangeDoubleClickHandling="CallBack"        
                    OnTimeRangeDoubleClick="DayPilotCalendar1_TimeRangeDoubleClick"
                    
                    
                        
                    OnEventMove="DayPilotCalendar1_EventMove" 
                    EventMoveHandling="CallBack" 
                    
                    EventResizeHandling="CallBack" 
                    OnEventResize="DayPilotCalendar1_EventResize"
                    
                    
                    OnEventMenuClick="DayPilotCalendar1_EventMenuClick" 
                  
                   
                   
                   
                 
                  
                  
                    OnEventSelect="DayPilotCalendar1_EventSelect" 
                    EventSelectHandling="JavaScript"
                    
                    
                    OnRefresh="DayPilotCalendar1_Refresh" 
                    EventSelectColor="Blue"
         
                   
                    ShowToolTip="true" 
               
                   
                    EventHoverHandling="Bubble" 
                    
                     
                    OnTimeRangeMenuClick="DayPilotCalendar1_TimeRangeMenuClick" 
                   
                      OnCommand="DayPilotCalendar1_Command" 
                      
                      
                      
                      
                      
                      
                      
                      
                      
                        BackColor="white"
                    NonBusinessBackColor="white"
                    EventBackColor="#638EDE"
                    EventBorderColor="#2951A5"
                    HourNameBackColor="#F3F3F9"
                    HourFontColor="#42658C"
                    HeaderFontColor="#42658C"
                    EventFontColor="white"
                    EventFontFamily="Tahoma,Verdana,Sans-serif"
                    BorderColor="#CED2CE"
                    CellBorderColor="#DEDFDE"
                    AllDayEventBackColor="#2951a5"
                    AllDayEventFontColor="#ffffff"
                    AllDayEventBorderColor="transparent"
                    HourBorderColor="#DEDFDE"
                    HourHalfBorderColor="#EBEDEB"
                    HourNameBorderColor="#DEDFDE" 
          
       
                    
                    ></daypilot:daypilotcalendar>
                    <br />
            </td>
        </tr>
    </table>

      



    <daypilot:daypilotmenu id="DayPilotMenu1" runat="server"  CssClassPrefix="menu_">
         <DayPilot:MenuItem Text="Delete" Action="Callback" Command="Delete"></DayPilot:MenuItem>
        <DayPilot:MenuItem Text="Edit" Action="Callback" Command="Edit"></DayPilot:MenuItem>
     </daypilot:daypilotmenu>
    
    
    
    <DayPilot:DayPilotMenu ID="DayPilotMenuSelection" runat="server" CssClassPrefix="menu_">
        <DayPilot:MenuItem Action="CallBack" Command="Insert" Text="Create new event" />
        <DayPilot:MenuItem Action="JavaScript" JavaScript="dpc1.clearSelection();"   Text="Clean selection" />
    </DayPilot:DayPilotMenu>






 

    <DayPilot:DayPilotBubble 
        ID="DayPilotBubble1" 
        runat="server" 
       
        ClientObjectName="bubble"
        ShowLoadingLabel="true"
        HideAfter="500"
        >
    </DayPilot:DayPilotBubble>
    
    
</asp:Content>
