Hi All.
I try to add appointment organizer to one of our projects using your scheduler control. It working fine if not use Advanced form for editing and inserting appointments. But I need tp add just one text box in have to use your customer controls from live examples. I added those controls using Scheduler scenario wizard. problem now how to bind data from LinqDataSources (used for Appoointments and ResourceTypes) to the form. Have you example? Thanks.
I try to add appointment organizer to one of our projects using your scheduler control. It working fine if not use Advanced form for editing and inserting appointments. But I need tp add just one text box in have to use your customer controls from live examples. I added those controls using Scheduler scenario wizard. problem now how to bind data from LinqDataSources (used for Appoointments and ResourceTypes) to the form. Have you example? Thanks.
<telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Windows7" Height="551px" ShowFooter="true" TimeZoneOffset="03:00:00" DayStartTime="08:00:00" DayEndTime="21:00:00" FirstDayOfWeek="Monday" LastDayOfWeek="Friday" EnableDescriptionField="true" AppointmentStyleMode="Default" OnNavigationComplete="RadScheduler1_NavigationComplete" OnClientFormCreated="schedulerFormCreated" OnAppointmentCreated="RadScheduler1_AppointmentCreated" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" OnAppointmentDelete="RadScheduler1_AppointmentDelete" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentInsert="RadScheduler1_AppointmentInsert" DataKeyField="AppointmentID" CustomAttributeNames="Charge" DataSubjectField="AppSubject" DataEndField="DateTimeDepart" DataStartField="DateTimeArrived" DataDescriptionField="AppDescription" DataSourceID="LinqDataSource1" GroupBy="Resources" StartEditingInAdvancedForm="true" StartInsertingInAdvancedForm="true"> <AdvancedForm Modal="true" /> <TimelineView UserSelectable="false" /> <MonthView UserSelectable="false" /> <WeekView UserSelectable="false" /> <AdvancedForm Modal="true" /> <Reminders Enabled="false" /> <AppointmentTemplate> <div class="rsAptSubject"> <%# Eval("Subject") %> </div> <%# Eval("Description") %> </AppointmentTemplate> <%--<AdvancedEditTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" Subject='<%# Bind("AppSubject") %>' Description='<%# Bind("AppDescription") %>' Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' Reminder='<%# Bind("Reminder") %>' AppointmentColor='<%# Bind("AppointmentColor") %>' CustomerID='<%# Bind("CustomerID") %>' ResourceID='<%# Bind("ResourceID") %>' /> </AdvancedEditTemplate> <AdvancedInsertTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" Subject='<%# Bind("AppSubject") %>' Description='<%# Bind("AppDescription") %>' Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' Reminder='<%# Bind("Reminder") %>' AppointmentColor='<%# Bind("AppointmentColor") %>' CustomerID='<%# Bind("CustomerID") %>' ResourceID='<%# Bind("Room") %>' /> </AdvancedInsertTemplate>--%> <TimeSlotContextMenuSettings EnableDefault="true" /> <AppointmentContextMenuSettings EnableDefault="true" /> <ResourceTypes> <telerik:ResourceType KeyField="ContactID" Name="Contacts" TextField="LastName" ForeignKeyField="ContactID" DataSourceID="LinqDataSource2" /> <telerik:ResourceType KeyField="ResourceID" Name="Resources" TextField="LastName" ForeignKeyField="ResourceID" DataSourceID="LinqDataSource3" /> </ResourceTypes> </telerik:RadScheduler> <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="DataLogic.DataModels.KloudDataDataContext" TableName="AAA_Apointments" EnableInsert="true" EnableDelete="true" EnableUpdate="true"> </asp:LinqDataSource> <asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="DataLogic.DataModels.KloudDataDataContext" TableName="AAA_Contacts"> </asp:LinqDataSource> <asp:LinqDataSource ID="LinqDataSource3" runat="server" ContextTypeName="DataLogic.DataModels.KloudDataDataContext" TableName="AAA_Resources"> </asp:LinqDataSource>