Hi. I am saving an appointment with recurrence in my database. The field has the following value:
DTSTART:20080609T120000Z
DTEND:20080609T180000Z
RRULE:FREQ=WEEKLY;UNTIL=20081231T040000Z;INTERVAL=1;BYDAY=MO
And when i load the appointments my method return a List of CalendarioMedicoList that it is a subclass of Appointment. My code is
Note that I do cm.RecurrenceRule = recurrence string from my table, however when I saw the RadScheduler I don't get any recurrence dates and there is no visual clue on my starting date that it is recurrence.
Any clue ?
DTSTART:20080609T120000Z
DTEND:20080609T180000Z
RRULE:FREQ=WEEKLY;UNTIL=20081231T040000Z;INTERVAL=1;BYDAY=MO
And when i load the appointments my method return a List of CalendarioMedicoList that it is a subclass of Appointment. My code is
| For Each rowData In ds.Tables(0).Rows |
| cm = New CalendarioMedico() |
| cm.ID = rowData("IdeSeq") |
| Dim s As String = rowData("FECINI").ToString().Substring(0, 10) + " " + rowData("HORAINI").ToString() |
| cm.StartTime = DateTime.Parse(rowData("FECINI").ToString().Substring(0, 10) + " " + rowData("HORAINI").ToString()) |
| cm.EndTime = DateTime.Parse(rowData("FECFIN").ToString().Substring(0, 10) + " " + rowData("HORAFIN").ToString()) |
| cm.RecurrenceRule = rowData("RECURRENCERULE").ToString() |
| cm.CodPais = rowData("CODPAIS").ToString() |
| cm.CodCia = rowData("CODCIA").ToString() |
| cm.CodOfi = rowData("CODOFI").ToString() |
| cm.CodId = rowData("CODID").ToString() |
| cm.NumId = rowData("NUMID").ToString() |
| If rowData("INDTIPOHORARIO").ToString() = "01" Then |
| cm.TipoInfo = CalendarioMedico.TipoInfoCalendario.Especialidad |
| cm.Subject = rowData("NOMESPECIALIDAD").ToString() |
| cm.IdeEspecialidad = rowData("IDEESPECIALIDAD") |
| Else |
| cm.TipoInfo = CalendarioMedico.TipoInfoCalendario.NoDisponible |
| cm.Subject = "Feriado:" + rowData("DESMOTIVO").ToString() |
| cm.IdeEspecialidad = rowData("CODMOTIVO") |
| End If |
| lista.Add(cm) |
Note that I do cm.RecurrenceRule = recurrence string from my table, however when I saw the RadScheduler I don't get any recurrence dates and there is no visual clue on my starting date that it is recurrence.
Any clue ?