Spin Buttons on numeric inputs managed by the input manager

3 posts, 0 answers
  1. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 02 Jun 2010 Link to this post

    I have a page with a variable number of inputs on screen.
    I create them as input types with a cssClass called numeric.
    Once all the inputs are created I load them into the input manager

            elements = $('input.numeric', someContextDiv); 
            var numericSettings = $find('RadInputManager').get_inputSettings('NumericSettings'); 
            for (var idx = 0; idx < elements.length; ++idx) { 

    Is there a way to now dynamically enable the SpinButtons on these inputs?
    I'd like to set ShowSpinButtons = true & ButtonsPosition="Right"


  2. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 07 Jun 2010 Link to this post

    Is there any way to alter numeric input properties for each input control managed by an input manager after it's been loaded with html inputs using their ids?

    I need to dynamically set min and max values and I'd like to set the spin buttons property on.

    I should be able to set the Increment Properties on my numeric text boxes after I load them into the Input Manager, no?
    The input manager doesn't let me set the Increment settings, which would be nice.

    The input manager does have min and max but in my case I don't want all my numeric inputs to have the same min and mix.

  3. Dimo
    Dimo avatar
    8406 posts

    Posted 10 Jun 2010 Link to this post

    Hi Matt,

    RadInputManager does not feature spin buttons or keystroke value incrementation, sorry. This functionality is only supported by RadNumericTextBox.

    If you want to have different textboxes with different min / max value constraints, you have to add them to different input settings. All number and style settings are managed per inputmanager setting, not per textbox.

    $find('RadInputManager').get_inputSettings('NumericSettings')._minValue = ........ ;
    $find('RadInputManager').get_inputSettings('NumericSettings')._maxValue = ....... ;

    Sincerely yours,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top