New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Client Event triggered on multiple timeslot selected
Environment
Product | RadScheduler for ASP.NET AJAX |
Description
How to execute some logic after the selection of multiple timeslots by dragging is finished.
Suggested Workarounds
The OnClientTimeSlotClick is not triggered when multiple slots are selected by dragging. To workaround this, you can override the internal functionality of the Scheduler and move your logic in this event instead.
To do that, you can place/load this script somewhere under the script manager:
ASP.NET
<telerik:RadCodeBlock runat="server">
<script>
if (Telerik && Telerik.Web.UI.RadScheduler) {
Telerik.Web.UI.RadScheduler.prototype._onRowSelectionMouseUp = function (e) {
this._abortRowSelection();
var scheduler = this;
console.log("row selection mouse up");
}
}
</script>
</telerik:RadCodeBlock>