RadSpineditor - Only ArrowKeys

2 posts, 0 answers
  1. Flavio
    Flavio avatar
    22 posts
    Member since:
    Jan 2011

    Posted 26 Jun 2014 Link to this post

    I would like know if is possible disable the textbox of RadSpineditor? I need to enable only ArrowKey.

  2. Dimitar
    Dimitar avatar
    1937 posts

    Posted 01 Jul 2014 Link to this post

    Hi Flavio,

    Thank you for contacting us.

    To achieve the desired functionality you can subscribe to the text box item KeyDown event and suppress any key press:
    public Form1()
        radSpinEditor1.SpinElement.TextBoxItem.KeyDown += TextBoxItem_KeyDown;
    void TextBoxItem_KeyDown(object sender, KeyEventArgs e)
        e.Handled = true;
        e.SuppressKeyPress = true;

    Please let me know if there is something else I can help you with. 
    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