Hi
I am new to telerik controls.I used radscheduler with recurrence but I am not able to get recurrence rule in server side while inserting a appointment in database.
An appointment is inserted with out the recurrence.I am binding the scheduler to a datasource.
By default CH_RECPID,CH_REC is set to empty string.
Please tell me a solution for this.
thanks in advance
I am new to telerik controls.I used radscheduler with recurrence but I am not able to get recurrence rule in server side while inserting a appointment in database.
An appointment is inserted with out the recurrence.I am binding the scheduler to a datasource.
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
DataDescriptionField
=
"CH_DESC"
DataEndField
=
"CH_TOTIME"
DataKeyField
=
"CH_BOOKID"
DataStartField
=
"CH_FROMTIME"
DataSubjectField
=
"CH_BOOKSUBJECT"
OnAppointmentDelete
=
"RadScheduler1_AppointmentDelete"
OnAppointmentUpdate
=
"RadScheduler1_AppointmentUpdate"
OnAppointmentInsert
=
"RadScheduler1_AppointmentInsert"
OnAppointmentCreated
=
"RadScheduler1_AppointmentCreated"
OnAppointmentDataBound
=
"RadScheduler1_AppointmentDataBound"
MinutesPerRow
=
"15"
TimeLabelRowSpan
=
"1"
Skin
=
"Windows7"
GroupBy
=
"Hall"
Height
=
"400px"
DayStartTime
=
"09:00:00"
DayEndTime
=
"19:00:00"
WorkDayStartTime
=
"09:00:00"
WorkDayEndTime
=
"19:00:00"
EnableDescriptionField
=
"True"
ShowAllDayRow
=
"False"
AdvancedForm-Modal
=
"true"
StartInsertingInAdvancedForm
=
"True"
AdvancedForm-Enabled
=
"true"
AdvancedForm-EnableCustomAttributeEditing
=
"true"
DataRecurrenceParentKeyField
=
"CH_RECPID"
DataRecurrenceField
=
"CH_REC"
EnableRecurrenceSupport
=
"true"
>
<
AdvancedForm
EnableCustomAttributeEditing
=
"true"
/>
<
AppointmentTemplate
>
<
div
class
=
"rsCategoryViolet"
>
<
br
/>
Subject:<%# Eval("Subject")%><
br
/>Time:<%#Convert.ToDateTime(Eval("Start")).ToShortTimeString()%>- <%#Convert.ToDateTime(Eval("End")).ToShortTimeString()%> <
br
/>
</
div
>
</
AppointmentTemplate
>
</
telerik:RadScheduler
>
</
asp:Panel
>
By default CH_RECPID,CH_REC is set to empty string.
Please tell me a solution for this.
thanks in advance