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

Discard default appointment popup

1 Answer 55 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Datamex
Top achievements
Rank 2
Datamex asked on 09 Jun 2009, 01:48 PM
Hi,

I've got another question about the scheduler control. The appointments are loaded from a WCF webservice and thus the AppointmentCreated event is not fired serverside. We've used the client-side double click event to attach an event handler to show a radwindow on doubleclicking an appointment. The window is showed as expected, but the default scheduler window is also showed by the scheduler control. If we throw an exception at the end of the 'show popup' JS function the schedulers' popup is killed, but I don't find that to be a correct solution. Is there a way to prevent the default popup from showing?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Jun 2009, 11:25 AM
Hello,

Please, try cancelling OnClientAppointmentEditing:
function OnClientAppointmentEditing(sender, eventArgs)   
            {                
                eventArgs.set_cancel(true);  
            } 




Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Datamex
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or