Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="CustomAppointmentForm.aspx.cs"
- Inherits="Customization_CustomAppointmentForm" %>
- <asp:Content ContentPlaceHolderID="ContentHolder" runat="server">
- <dx:ASPxScheduler ID="ASPxScheduler1" runat="server" AppointmentDataSourceID="AppointmentDataSource" ResourceDataSourceID="efResourceDataSource" ActiveViewType="WorkWeek"
- GroupType="Resource">
- <ResourceNavigator EnableIncreaseDecrease="false" />
- <Storage>
- <Resources>
- <CustomFieldMappings>
- <dx:ASPxResourceCustomFieldMapping Name="Phone" Member="Phone" />
- </CustomFieldMappings>
- </Resources>
- </Storage>
- <Views>
- <DayView ResourcesPerPage="3" />
- <WorkWeekView ResourcesPerPage="1" />
- <FullWeekView Enabled="true" ResourcesPerPage="1"/>
- <WeekView Enabled="false"/>
- <MonthView ResourcesPerPage="1" />
- <TimelineView ResourcesPerPage="2" />
- </Views>
- <Storage EnableReminders="false" />
- </dx:ASPxScheduler>
- <demo:SchedulerDemoDataSource runat="server" ID="AppointmentDataSource" DataSourceID="efAppointmentDataSource" IsSiteMode="True"></demo:SchedulerDemoDataSource>
- <ef:EntityDataSource ID="efAppointmentDataSource" runat="server" ContextTypeName="DevExpress.Web.Demos.MedicsSchedulingDBContext" EntitySetName="MedicalAppointments"
- EnableInsert="true" EnableUpdate="true" EnableDelete="true" EnableFlattening="false" />
- <ef:EntityDataSource ID="efResourceDataSource" runat="server" ContextTypeName="DevExpress.Web.Demos.MedicsSchedulingDBContext" EntitySetName="Medics" EnableFlattening="false" />
- </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement