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

Display appointments in RadWindow on Clicking show more

1 Answer 58 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Anwar
Top achievements
Rank 2
Anwar asked on 09 Nov 2011, 08:23 AM
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

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 14 Nov 2011, 10:03 AM
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
Tags
Scheduler
Asked by
Anwar
Top achievements
Rank 2
Answers by
Plamen
Telerik team
Share this question
or