Approved
Last Updated: 09 Sep 2019 10:58 by ADMIN
Pat Henry
Created on: 09 Sep 2019 10:57
Category: Scheduler
Type: Bug Report
2
The tooltips on the navigation buttons display "next day", and "previous day" when navigating month and week.

Hover over the command arrows on the radScheduler when the view is set to month view.  The Tooltip will display "next day" and "previous day" instead of "next month" and "previous month".

The same happens for week view.

Temporary workaround: 

<telerik:RadCodeBlock runat="server">
    <script>
        function pageLoadHandler() {
            var scheduler = $find("<%= RadScheduler1.ClientID %>");
            var $scheduler = $telerik.$(scheduler.get_element());
            var viewType = "Day";
            if (scheduler.get_selectedView() == Telerik.Web.UI.SchedulerViewType.WeekView) {
                viewType = "Week";
            } else if (scheduler.get_selectedView() == Telerik.Web.UI.SchedulerViewType.MonthView) {
                viewType = "Month";
            }

            $scheduler.find(".rsPrevDay").attr("title", "Previous " + viewType)
            $scheduler.find(".rsNextDay").attr("title", "Next " + viewType)

            // Sys.Application.remove_load(pageLoadHandler);  
        }
        Sys.Application.add_load(pageLoadHandler);
    </script>
</telerik:RadCodeBlock>

0 comments