Display appointments in RadWindow on Clicking show more

2 posts, 0 answers
  1. Anwar
    Anwar avatar
    31 posts
    Member since:
    Aug 2011

    Posted 09 Nov 2011 Link to this post

    Hi friends ,
    i am using RadScheduler to show the appointments.I have given the value VisibleAppointmentsPerDay="3".When i have more than 3 appointments.i am getting show more link button.If i click on that button it's showing day view.
    i have written OnClientTimeSlotClick="TimeslotClick" event which will display the appointments in RadWindow.TimeslotClick event is working only when i click otherthar more button

    My requirement is when i click on more button then also i have fire OnClientTimeSlotClick="TimeslotClick".
    How can i implement this....?


    This my function in Javascript

     function TimeslotClick(sender, eventArgs) {
              
                ViewMenuDetailsDialog(eventArgs._time.format("MM/dd/yyyy"));

            }

    ViewMenuDetailsDialog in this function i have displayed all the appointments in RadWindow


    Thanks
    Anwar
  2. Plamen
    Admin
    Plamen avatar
    3056 posts

    Posted 14 Nov 2011 Link to this post

    Hello Anwar,

    You can use this code to disable click on the" More" link:

    function pageLoad() {
             $telerik.$(".rsShowMore").each(function (i) {
                     $telerik.$(this).bind("click", function (e) {
                         $telerik.cancelRawEvent(e);
                     });
                 });
            
                }

    You can also refer to the External edit in RadDock demo for other ideas how to get the information from the Scheduler.

    Kind regards,
    Plamen Zdravkov
    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