radnumerictextbox increment value by 100s

8 posts, 1 answers
  1. Lahiru
    Lahiru avatar
    19 posts
    Member since:
    Dec 2012

    Posted 17 May 2013 Link to this post

    Hi,

    Is it possible to increment the value of the 'radnumerictextbox' when pressing the up arrow in the control?

    By default it increments by 1, is there a way to change this?

    Thank you,
    Lahiru
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 May 2013 Link to this post

    Hi Lahiru,

    You can set the Step value in IncrementSettings to 100. Please have a look at the sample mark-up.

    ASPX:
    <telerik:RadNumericTextBox runat="server" ID="Numeric1" Label="Enter Value : ">
        <IncrementSettings Step="100" />
    </telerik:RadNumericTextBox>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lahiru
    Lahiru avatar
    19 posts
    Member since:
    Dec 2012

    Posted 17 May 2013 Link to this post

    Thank you very much for your fast reply. 

    That works perfectly.

    One other question: is there any difference between using 

    <IncrementSettings Step="100" />

    OR

    IncrementSettings-Step="100"

    as a property in the main tag?
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 May 2013 Link to this post

    Hi Lahiru,

    There is no difference between <IncrementSettings Step="100" /> and IncrementSettings-Step="100" and both produces the very same effect.

    Thanks,
    Shinu.
  6. Antony
    Antony avatar
    32 posts
    Member since:
    Feb 2013

    Posted 21 May 2013 Link to this post

    Hi Shinu,

    Thanks Your reply helps me also.
    Normally when I type some invalid characters other than number, a warning is displayed and the color change to red for a fraction of seconds and go back to normal state. Is there any tweak to persist the change?

    Thanks,
    Antony.
  7. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 May 2013 Link to this post

    Hi Antony,

    Try setting the InvalidStyleDuration property to a desired value which helps to persist the invalid style for the specified time duration. Please have a look at the following mark-up.

    ASPX:
    <telerik:RadNumericTextBox runat="server" ID="RadNumericTextBox1" Label="Enter Value : "
        InvalidStyleDuration="3000">
    </telerik:RadNumericTextBox>

    As per the above mark-up the invalid style persist for 3 seconds.

    Thanks,
    Shinu.
  8. Antony
    Antony avatar
    32 posts
    Member since:
    Feb 2013

    Posted 28 May 2013 Link to this post

    Hi Shinu I am trying to set a width for my radtextbox which is not working in IE10. I have updated to the latest version of radcontrols. The width work properly in other browser and lower version of IE. Any work around for this?
  9. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 May 2013 Link to this post

    Hi Antony,

    This is a known issue of RadInput with the IE10 compatibility mode. This bug has not been yet fixed and the fix will be included in the next official release of Telerik RadControls for ASP.Net AJAX.

    Thank,
    Shinu.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017