This is a migrated thread and some comments may be shown as answers.

Only one occurance created

6 Answers 27 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 29 Jul 2012, 04:01 PM
I have scheduler with many resource types and custom attributes in an advanced insert template. It seems to work well creating one. When I try the recurrence it still only creates one... no errors just does not do more than one.... is there anything special for the resource types or custom attributed needed?

6 Answers, 1 is accepted

Sort by
0
Ken
Top achievements
Rank 1
answered on 29 Jul 2012, 04:12 PM
if I select Tusday and Wednesday only tuesday is put in for multiple week but just that one day
0
Peter
Telerik team
answered on 30 Jul 2012, 01:36 PM
Hi Ken,

How do you populate RadScheduler and how does your data source look like? Do you set the DataRecurrenceField and DataRecurrenceParentKeyField properties for RadScheduler?

Here is a sample Database structure and here is a help topic on Working with Recurring Appointments.


Greetings, Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ken
Top achievements
Rank 1
answered on 30 Jul 2012, 02:09 PM
DataRecurrenceField and DataRecurrenceParentKeyField are set to the database fields
I am using the advance insert template  with

<telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" />

<asp:HiddenField runat="server" ID="OriginalRecurrenceRule" />

the template shows the check box for the recurrence.. when checked it opens and no matter what weekly and saturday are checked even though monday was the date the appointment was opened with. how does the appointment editor set initially and how does it get back to the database column RecurrenceRule.. When I create the appointment the rule that is stored is not what I selected. it only put in one day per week even if I say multiple days..... thanks

0
Peter
Telerik team
answered on 31 Jul 2012, 09:02 AM
Hello Ken,

Please, track how the recurence editor is used in this demo - Customizing the Advanced Insert and Edit Forms, and use the same approach.


All the best, Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ken
Top achievements
Rank 1
answered on 31 Jul 2012, 12:02 PM
I am not using the user control as the form I have it all defined inline...Will this approach work for my situation?

Do you have an example of using  RadSchedulerRecurrenceEditor in a template example like the following:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/templates/defaultcs.aspx
0
Peter
Telerik team
answered on 02 Aug 2012, 10:01 AM
Hello,

We don't have such a demo, but basically the idea is to bind the RecurrenceRuleText property (provided that the recurrence editor is placed in appointment insert/edit template):
<telerik:RadSchedulerRecurrenceEditor ID="RadSchedulerRecurrenceEditor1" runat="server"
        RecurrenceRuleText='<%# Bind("[NameOfRecurrenceRuleColumnInDataSource]") %>'>
    </telerik:RadSchedulerRecurrenceEditor>


All the best,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Ken
Top achievements
Rank 1
Answers by
Ken
Top achievements
Rank 1
Peter
Telerik team
Share this question
or