I have a webpage with a RadScheduler but the recurring appointments are not showing up correctly.
A single appointment will show up with the recurrence symbol on it, ahd when I double click the appointment it will ask if i want to use just the single appointment or the series. However, no other appointments show up, only the first.
I am using the same information in the database and also have a WinForms application that uses that Schedueler. That information displays correctly.
I have a SQL database with as far as I can tell correct fields.
The Create Table Script:
/****** Object: Table [dbo].[ScheduledTable] Script Date: 08/30/2012 13:49:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[ScheduledTable](
[AppointmentID] [bigint] IDENTITY(1,1) NOT NULL,
[Subject] [varchar](max) NULL,
[StartTime] [datetime] NULL,
[EndTime] [datetime] NULL,
[Description] [varchar](max) NULL,
[RecurrenceRule] [varchar](max) NULL,
[ParentID] [varchar](200) NULL,
CONSTRAINT [PK_ScheduledTable] PRIMARY KEY CLUSTERED
(
[AppointmentID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
On the page load I have:
Dim AppointmentDT As DataTable = SQLRowToDt(ConnStr, "Select * From AppointmentTable Where EmployeeID = " & EmployeeID)
RadScheduler1.DataSource = AppointmentDT
RadScheduler1.DataKeyField = "AppointmentID"
RadScheduler1.DataStartField = "StartTime"
RadScheduler1.DataEndField = "EndTime"
RadScheduler1.DataSubjectField = "Subject"
RadScheduler1.DataRecurrenceField = "RecurrenceRule"
RadScheduler1.DataRecurrenceParentKeyField = "ParentID"
RadScheduler1.DataDescriptionField = "Description"
The RecurrenceRule in the database is: FREQ=DAILY;UNTIL=20120905T000000Z
The ParentID in the database is set to NULL
I have attached a screenshot of what the Appointment currently looks like.
Please let me know if you can help.
Thanks
A single appointment will show up with the recurrence symbol on it, ahd when I double click the appointment it will ask if i want to use just the single appointment or the series. However, no other appointments show up, only the first.
I am using the same information in the database and also have a WinForms application that uses that Schedueler. That information displays correctly.
I have a SQL database with as far as I can tell correct fields.
The Create Table Script:
/****** Object: Table [dbo].[ScheduledTable] Script Date: 08/30/2012 13:49:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[ScheduledTable](
[AppointmentID] [bigint] IDENTITY(1,1) NOT NULL,
[Subject] [varchar](max) NULL,
[StartTime] [datetime] NULL,
[EndTime] [datetime] NULL,
[Description] [varchar](max) NULL,
[RecurrenceRule] [varchar](max) NULL,
[ParentID] [varchar](200) NULL,
CONSTRAINT [PK_ScheduledTable] PRIMARY KEY CLUSTERED
(
[AppointmentID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
On the page load I have:
Dim AppointmentDT As DataTable = SQLRowToDt(ConnStr, "Select * From AppointmentTable Where EmployeeID = " & EmployeeID)
RadScheduler1.DataSource = AppointmentDT
RadScheduler1.DataKeyField = "AppointmentID"
RadScheduler1.DataStartField = "StartTime"
RadScheduler1.DataEndField = "EndTime"
RadScheduler1.DataSubjectField = "Subject"
RadScheduler1.DataRecurrenceField = "RecurrenceRule"
RadScheduler1.DataRecurrenceParentKeyField = "ParentID"
RadScheduler1.DataDescriptionField = "Description"
The RecurrenceRule in the database is: FREQ=DAILY;UNTIL=20120905T000000Z
The ParentID in the database is set to NULL
I have attached a screenshot of what the Appointment currently looks like.
Please let me know if you can help.
Thanks