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

TimeSlot selection end

2 Answers 22 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Barbaros Saglamtimur
Top achievements
Rank 1
Barbaros Saglamtimur asked on 18 May 2012, 03:36 PM
Hi,

Is it possible to capture timeslot selection end event at client side? onClientTimeSlotClick event is fired whenever I click on a timeslot. Is there an event fired when user finishes selecting a range at client side? Or better OnClientTimeSlotSelecting  and OnClientTimeSlotSelected events will be perfect.

TIA.

2 Answers, 1 is accepted

Sort by
0
Lucania
Top achievements
Rank 1
answered on 22 May 2012, 07:03 AM
I would also like to know the answer to this - I can't seem to find any info or examples.

ROSCO
0
Plamen
Telerik team
answered on 23 May 2012, 08:21 AM
Hello,

 
RadScheduler do not have such inbuilt client functionality so far because currently it does not directly need such event. One possible workaround is to use the jQuery mouse up event and count the selected slots as in the code below:

function pageLoad() {
           var $= $telerik.$;
             $('.rsContentTable').mouseup(function() {
                   alert($(".rsSelectedSlot").length);
               });
           }

Hope this will help you.

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
Barbaros Saglamtimur
Top achievements
Rank 1
Answers by
Lucania
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or