I want to call Radgrid SelectedIndexChange event on arrow key press
ie I want to display selected row value in corresponding textbox.
as i navigate to another row , the text in textbox should change.
1 Answer, 1 is accepted
answered on 22 Aug 2014, 07:13 AM
Initiating a postback with keyboard navigation is not a recommended approach and I will suggest that you use client-side logic for this (if it could still meet your requirements).
For your convenience, following is a simple example demonstrating how to handle the client-side OnRowSelected event of the grid and using the selected data item getDataKeyValue() method to retrieve the value and set it to a TextBox control:
Additionally, if you decide to handle this on server-side you will have to handle again the client-side OnRowSelected event and using setTimeout() function with some delay, fire custom command through the MasterTableView, which will force the SelectedIndexChange to fire: