Disable Keyboard Navigation

2 posts, 0 answers
  1. Paul B
    Paul B avatar
    15 posts
    Member since:
    May 2013

    Posted 17 Jun 2014 Link to this post

    Is there a way to disable keyboard navigation in the RadListView control when it's in IconsView? I want to have other keys fire the KeyDown event (e.g. Del) but not the keyboard arrow keys.
  2. Dess
    Dess avatar
    2180 posts

    Posted 20 Jun 2014 Link to this post

    Hello Paul,

    Thank you for writing.

    You can achieve your requirement by creating a custom RadListView and overriding its OnKeyDown event handler:
    public class CustomListView : RadListView
        public override string ThemeClassName 
                return typeof(RadListView).FullName; 
        protected override void OnKeyDown(KeyEventArgs e)
            if (e.KeyData == Keys.Left || e.KeyData == Keys.Right ||
                e.KeyData == Keys.Up || e.KeyData == Keys.Down)

    I hope this information helps. Should you have further questions, I would be glad to help.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top