I have hooked up a handler to the OnSelectedIndexChanged event (server side) on my grid. When the mouse is used to select a row, the event fires and a call is made to the server to get some detail data for the row and to display it in a separate area of the page. This postback is ajaxified via the RadAjaxManager and it all works fine.
I want to make the same code execute when KeyboardNavigation is enabled and the user is navigating through the grid using the up/down arrow keys.
I have searched the forum postings extensively and have found various suggestions, none of which work for me. I have EnablePostBackOnRowClick set to true, and that doesn't help. So, the question is, can I get the code in my server-side method to execute when the user is using the arrow keys to navigate. Is there a client-side way to do this?
I have also tried to call my ajax request method from the OnRowSelected client side. When that code executes I don't have any selected items available in the grid, even though I have set the current row to selected in the client code. I can pass the row index into the ajaxRequest, but how do I then access the appropriate row in the grid so that I can get the data key and make my call to the server with information for detail on that row?
Any suggestions would be appreciated. Thanks.
I want to make the same code execute when KeyboardNavigation is enabled and the user is navigating through the grid using the up/down arrow keys.
I have searched the forum postings extensively and have found various suggestions, none of which work for me. I have EnablePostBackOnRowClick set to true, and that doesn't help. So, the question is, can I get the code in my server-side method to execute when the user is using the arrow keys to navigate. Is there a client-side way to do this?
I have also tried to call my ajax request method from the OnRowSelected client side. When that code executes I don't have any selected items available in the grid, even though I have set the current row to selected in the client code. I can pass the row index into the ajaxRequest, but how do I then access the appropriate row in the grid so that I can get the data key and make my call to the server with information for detail on that row?
Any suggestions would be appreciated. Thanks.