Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.76 KB | None | 0 0
  1.  
  2. <%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="CustomAppointmentForm.aspx.cs"
  3.     Inherits="Customization_CustomAppointmentForm" %>
  4. <asp:Content ContentPlaceHolderID="ContentHolder" runat="server">
  5.     <dx:ASPxScheduler ID="ASPxScheduler1" runat="server" AppointmentDataSourceID="AppointmentDataSource" ResourceDataSourceID="efResourceDataSource" ActiveViewType="WorkWeek"
  6.         GroupType="Resource">
  7.         <ResourceNavigator EnableIncreaseDecrease="false" />
  8.         <Storage>
  9.             <Resources>
  10.                 <CustomFieldMappings>
  11.                     <dx:ASPxResourceCustomFieldMapping Name="Phone" Member="Phone" />
  12.                 </CustomFieldMappings>
  13.             </Resources>
  14.         </Storage>
  15.         <Views>
  16.             <DayView ResourcesPerPage="3" />
  17.             <WorkWeekView ResourcesPerPage="1" />
  18.             <FullWeekView Enabled="true" ResourcesPerPage="1"/>
  19.             <WeekView Enabled="false"/>
  20.             <MonthView ResourcesPerPage="1" />
  21.             <TimelineView ResourcesPerPage="2" />
  22.         </Views>
  23.         <Storage EnableReminders="false" />
  24.     </dx:ASPxScheduler>
  25.     <demo:SchedulerDemoDataSource runat="server" ID="AppointmentDataSource" DataSourceID="efAppointmentDataSource" IsSiteMode="True"></demo:SchedulerDemoDataSource>
  26.     <ef:EntityDataSource ID="efAppointmentDataSource" runat="server" ContextTypeName="DevExpress.Web.Demos.MedicsSchedulingDBContext" EntitySetName="MedicalAppointments"
  27.         EnableInsert="true" EnableUpdate="true" EnableDelete="true" EnableFlattening="false" />
  28.     <ef:EntityDataSource ID="efResourceDataSource" runat="server" ContextTypeName="DevExpress.Web.Demos.MedicsSchedulingDBContext" EntitySetName="Medics" EnableFlattening="false" />
  29. </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement