Pending Review
Last Updated: 04 Dec 2017 11:27 by ADMIN
carlag
Created on: 01 Dec 2017 20:17
Category: Calendar
Type: Feature Request
0
Radcalendar accesskey property is not implemented
The RadCalendar AccessKey property does not move focus to the RadCalendar control.
For example, set the AccessKey="K" for the RadCalendar.  

<telerik:RadCalendar ID="RadCalendar1" RenderMode="Lightweight" AutoPostBack="true" AccessKey="K"
         EnableKeyboardNavigation="true" EnableAriaSupport="true" EnableMultiSelect="true" runat="server"></telerik:RadCalendar>

However, focused is not moved to the Calendar with the AccessKey using ALT + Shift + key or ALT + key depending on the web browser. Please implement AccessKey for RadCalendar.

Thank You,
Carla
1 comment
ADMIN
Marin Bratanov
Posted on: 04 Dec 2017 11:27
A workaround is to set the AccessKey via JavaScript. You can also set it in the markup as an argument to the JS handler that will do this:

<telerik:RadCalendar ID="RadCalendar1" RenderMode="Lightweight" AutoPostBack="true"  CssClass="TCECalendar"
    EnableKeyboardNavigation="true" EnableAriaSupport="true" EnableMultiSelect="false"
    runat="server">
    <ClientEvents OnLoad="function(s,a){OnLoad(s,a,'K')}" />
</telerik:RadCalendar>
<script>
    function OnLoad(sender, args, theKey) {
        $telerik.$(sender.get_element()).find(".rcMainTable").first().attr("accessKey", theKey);
    }
</script>