How to Open ModalPopup By clicking On Appointment

2 posts, 0 answers
  1. Vishnu Vardhan Reddy
    Vishnu Vardhan Reddy avatar
    20 posts
    Member since:
    Oct 2011

    Posted 06 Jan 2012 Link to this post

    Hi,
    I have rad scheduler  and i have some appointments in my Scheduler.How i can Open a Modal popup to show appointment  details by click on a particular Appointment.Can any one help me asap

    Thanks And Regards
    N.Vishnu Vardhan Reddy
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 06 Jan 2012 Link to this post

    Hello,

    Please, try the following code:
    <script type="text/javascript">
           function OnClientAppointmentClick(sender, e) {
               var apt = e.get_appointment();
               sender.editAppointmentWithConfirmation(apt);
           }
       </script>
       <telerik:RadScheduler runat="server" ID="RadScheduler1" StartEditingInAdvancedForm="true"
           OnClientAppointmentClick="OnClientAppointmentClick">
           <AdvancedForm Modal="true" />
       </telerik:RadScheduler>


    Kind regards,
    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
Back to Top