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

A Question

2 Answers 48 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 17 Oct 2010, 09:54 AM
Why does the advanced form have to work the way that it does? What I mean is, if I've understood correctly, the advanced form is actually just another part of the scheduler itself and so updating the advanced form, is, in fact, an update of the scheduler itself.

I wonder if it is not possible to completely divorce the advanced form from the scheduler completely. that is, have a completely independent page that queries and updates the data store directly, taking only an indication of the mode and maybe the ID of the appointment to be edited from the scheduler when it is called, maybe via the query string. 

OK, it would, I suppose, mean that the code currently in the scheduler for handling the data store operations for an update would have to be moved but updates to the scheduler itself, if needed could be stimulated using the OnClientClose callback function of the window holding the new advanced form.

I wonder if there is the ability already to do it this way as I note that the SchedulerFormMode enumeration has a "Hidden" value. I'd like to know what that's for.

I guess I'd have to catch a number of the client-side events to stop the built-in functionality from kicking in, but I'd imagine that that is quite doable.

I'd like to hear from someone at telerik towers on the above, especially on the idea of suppressing the built in forms.

-- 
Stuart

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 21 Oct 2010, 04:27 PM
Hi Stuart,

I am not sure if you are familiar with the External Edit in RadDock but it seems to me that it shows what you need. The default insert/edit form is suppressed by canceling the FormCreating event:

protected void RadScheduler1_FormCreating(object sender, SchedulerFormCreatingEventArgs e)
       {
           if (e.Mode == SchedulerFormMode.Insert || e.Mode == SchedulerFormMode.Edit)
           {
               EditedAppointmentID = e.Appointment.ID;
               e.Cancel = true;



Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Stuart Hemming
Top achievements
Rank 2
answered on 29 Oct 2010, 11:14 AM
Peter,

as you guessed, I hadn't really paid any attention to that particular example. I see it know though.

Thanks for the pointer.

-- 
Stuart
Tags
Scheduler
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Peter
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or