Discard default appointment popup

2 posts, 0 answers
  1. Datamex
    Datamex avatar
    161 posts
    Member since:
    Jun 2012

    Posted 09 Jun 2009 Link to this post

    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?
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 10 Jun 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top