I am using a gridview with full keyboard navigation control, which I am binding through code behind page load. at the same time I am selecting the first row of that gridview through code behine by the below mentioned code :
if (RadGrid1.MasterTableView.Items.Count > 0)
RadGrid1.MasterTableView.Items.Selected = true;
Here I am using the client settings by below mentioned code to allow keyboard navigation for the radgrid.
Now if I'm clicking on the radgrid rows then keyboard UP and DOWN arrow key is working fine but in case of Loading the page it is selecting the first row but then the keyboard UP and DOWN arrow key is not working.
How do I use UP and DOWN arrow key in case of page load or refreshed?
5 Answers, 1 is accepted
You can achieve this requirement using the following approach:
Hope this helps. Please give it a try and let me know if it works for you.
Also, could you verify that you are not using DataBind() to bind the grid? Performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations. Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
Programmatic Data Binding
I am having the same problem with keyboard navigation.I am using radgrid batch editing when i click tab it is going to the next control instead of next cell.could please review my code.
To check the Keyboard Navigation of Batch editing, you can refer to this live sample:
You can also check the following custom script:
I tried it but it is not working.I am using version 2013.2.717.40.Nothing is working on my end with keyboard navigation.if this feature is not availble in the version could you please send me the work around.I am sturck with this only thing.
Keyboard navigation for Batch editing most probably is released in a newer version. I am afraid there is no workaround to incorporate it in older version. Generally, we highly suggest our customers to use the most recent versions of Telerik controls with richer functionality and stable performance.