Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Buttons, RadioButton, CheckBox, etc > RadSpinEditor - Removing Up & Down Buttons

Answered RadSpinEditor - Removing Up & Down Buttons

Feed from this thread
  • Bradley Lane avatar

    Posted on Mar 18, 2009 (permalink)

    Hi,

    Is it possible to remove the up and down buttons from RadSpinEditor?
    I would like to use it as a kind of Numeric TextBox with built in validation and range checking.

    Thanks,
    Brad

    Reply

  • Answer Nikolay Nikolay admin's avatar

    Posted on Mar 18, 2009 (permalink)

    Hello Bradley Lane,

    Thank you for your question.

    It is possible to remove the buttons of RadSpinEditor. For additional information, please refer to the following Knowledge Base article: Creating numeric textbox.

    Kind regards,
    Nikolay
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Bradley Lane avatar

    Posted on Mar 18, 2009 (permalink)

    Thanks Nikolay,

    This is a good solution and suits my needs!

    What are the chances of getting this functionality as property of RadSpinEditor in a future release?

    Thanks,
    Brad

    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Mar 20, 2009 (permalink)

    Hi Bradley Lane,

    A property to hide the buttons is a good feature to add, indeed. It will be implemented in our next service pack.

    I have updated your Telerik points for the suggestion. If you have additional questions, feel free to contact me.

    Kind regards,

    Nikolay
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Helmy avatar

    Posted on Jul 21, 2011 (permalink)

    hi ,
    i want to use the event (key down) with  radSpinEditor and it is not working 

    Thanks,
    helmy

    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Jul 25, 2011 (permalink)

    Hi Helmy,

    Thank you for writing.

    For our small editors we use the standard TextBox control for the textbox part. In order to use the KeyDown event of RadSpinEditor, please subscribe to the KeyDown event of its TextBoxItem:
    public Form1()
    {
        InitializeComponent();
      
        this.radSpinEditor1.SpinElement.TextBoxItem.KeyDown += new KeyEventHandler(TextBoxItem_KeyDown);
    }
      
    void TextBoxItem_KeyDown(object sender, KeyEventArgs e)
    {
        throw new NotImplementedException();
    }

    We will consider improving the API of RadSpinEditor allowing you to directly work with the KeyDown event of the control.

    I hope this helps.

    Best wishes,
    Nikolay
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Buttons, RadioButton, CheckBox, etc > RadSpinEditor - Removing Up & Down Buttons
Related resources for "RadSpinEditor - Removing Up & Down Buttons"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]