This is a migrated thread and some comments may be shown as answers.

radnumerictextbox increment value by 100s

7 Answers 267 Views
Input
This is a migrated thread and some comments may be shown as answers.
Lahiru
Top achievements
Rank 1
Lahiru asked on 17 May 2013, 12:40 PM
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

7 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 17 May 2013, 01:13 PM
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.
0
Lahiru
Top achievements
Rank 1
answered on 17 May 2013, 01:42 PM
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?
0
Shinu
Top achievements
Rank 2
answered on 20 May 2013, 04:14 AM
Hi Lahiru,

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

Thanks,
Shinu.
0
Antony
Top achievements
Rank 1
answered on 21 May 2013, 08:45 AM
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.
0
Shinu
Top achievements
Rank 2
answered on 21 May 2013, 09:55 AM
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.
0
Antony
Top achievements
Rank 1
answered on 28 May 2013, 08:37 AM
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?
0
Shinu
Top achievements
Rank 2
answered on 28 May 2013, 09:09 AM
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.
Tags
Input
Asked by
Lahiru
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Lahiru
Top achievements
Rank 1
Antony
Top achievements
Rank 1
Share this question
or