New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Display an indicator at the current time in Day/Week view
ENVIRONMENT
Product | Telerik WebForms Scheduler for ASP.NET AJAX |
DESCRIPTION
In certain scenarios, you may wish to incorporate a horizontal indicator to denote the current time within the Day or Week view of the Scheduler.
SOLUTION
While the Scheduler does not natively support this feature, you can achieve a comparable outcome by utilizing a workaround. Specifically, you can use the TimeSlotCreated
event to apply a CSS class to the current time slot. This method allows for custom styling and functionality to highlight or modify the appearance of the current time slot in the Scheduler.
Example
CSS
html body .RadScheduler .nowCss {
border-bottom: 1px solid red;
}