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

[Solved] Recurrence Engine

8 Answers 250 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Steven Marchessault
Top achievements
Rank 1
Steven Marchessault asked on 27 Mar 2008, 06:30 PM
I am using the radscheduler to display events. However the administration side will be edited with a grid of schedules. Is it possible just to use the recurrence engine part of the scheduler on my form when editing?

I know I can achieve this by using the recurrence classes that telerik provides, but I would just like to use the interface part of the recurrence set up while editing events.

Thanks,

8 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Mar 2008, 08:38 AM
Hi Steve,

It looks like the ShowAdvancedEditForm method is what would work well for this scnerio. Here is a simple example:

protected void Button3_Click(object sender, EventArgs e)  
    {  
        Appointment appointmentToEdit = RadScheduler1.Appointments.FindByID(15);  
        RadScheduler1.ShowAdvancedEditForm(appointmentToEdit);          
    } 




Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steven Marchessault
Top achievements
Rank 1
answered on 03 Apr 2008, 06:02 PM
Thanks, is there possibly anyway to hide everything besides the recurrence piece?
0
Steven Marchessault
Top achievements
Rank 1
answered on 03 Apr 2008, 07:48 PM
also, is there a way i can get the recurrence string client side?
0
Peter
Telerik team
answered on 04 Apr 2008, 12:55 PM
Hello Steve,

With the new futures release last month, we introduced one new example -
Customizing the Advanced Template, which makes it relatively easy to customize the advanced form. I would recommend you use the set of user controls to create the advanced form. The accompanying help article is not live yet, so I am sending it to you as a word document.

The user controls can be found in your local installation of the latest Telerik.Web.UI Futures (I attached a screenshot of which file you need to download just in case) at this location:

Live Demos\Scheduler\Examples\AdvancedFormTemplate\DefaultTemplates

As for the second question, there isn't a way to get the recurrence string client side.

Should you have any questions, please feel free to contact us.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steven Marchessault
Top achievements
Rank 1
answered on 04 Apr 2008, 01:24 PM

I am using the prometheus futures control. Attached is a screen shot of what i would like to achieve. I have made it this far to show only the recurrence portion, but now I'm having a hard time getting the new recurrence string. Is there a way I can get it after the user enters their recurrence times?

Recurrence Screenshot
http://www.caretechsolutions.com/temp/recurrence.jpg

0
Peter
Telerik team
answered on 04 Apr 2008, 01:39 PM


Would this work?:

protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)  
    {   
            Response.Write(e.ModifiedAppointment.RecurrenceRule.ToString());  
    } 



Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steven Marchessault
Top achievements
Rank 1
answered on 04 Apr 2008, 01:58 PM
i tried that and it comes back as an empty string.. i know im hiding the recurrence check box in the panel with the subject (BasicControlsPanel).. does that need to be checked in order for the control to build the recurrence string?
0
Peter
Telerik team
answered on 04 Apr 2008, 02:02 PM


If you don't check the recurrence check box, the appointment will not be promoted to recurrent, unless you explicitly make it recurrent from code-behind. All appointments which are not recurrent will have null for their RecurrenceRule property.


Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Steven Marchessault
Top achievements
Rank 1
Answers by
Peter
Telerik team
Steven Marchessault
Top achievements
Rank 1
Share this question
or