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

AllowKeyBoardNavigation Bug??

1 Answer 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bobby Ross
Top achievements
Rank 1
Bobby Ross asked on 15 Jan 2011, 05:06 AM
I have found while working with the RadGrid that when AllowKeyBoardNavigation is set to true all keyboard navigation events are being captured whether focus is in the grid or not.  Not sure if I am going crazy or not, or if there is some other solution.
Here is a simple example that I have duplicated in IE and chrome.

Place a RadTextBox and RadGrid on a form setting the client setting AllowKeyBoardNavigation="True".  Also in my testing I am using a masterpage.
<asp:Content ID="Content1" ContentPlaceHolderID="cphBody" runat="Server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <telerik:RadTextBox ID="RadTextBox1" runat="server">
    </telerik:RadTextBox>
    <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None"
        onneeddatasource="RadGrid1_NeedDataSource">
        <ClientSettings AllowKeyboardNavigation="True">
        </ClientSettings>
        <MasterTableView>
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>
</asp:Content>

When you open the page and the grid is filled put focus and type something in the textbox and attempt to use the back and forward buttons on your keyboard.  In my testing focus leaves the textbox and is placed immediately on the grid when one of these keys is pressed.  Is this by design or a bug?

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 17 Jan 2011, 01:43 PM
Hi Bobby,

This problem has already been fixed by our developers. You can either download the latest internal build, or wait for the service pack which will be released later today or tomorrow.

Kind regards,
Pavel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Bobby Ross
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or