We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

decimila IncrementStep

Hello,

How to set the IncrementStep to decimal value like IncrementStep="0,25" so that when i hit the UP icon i get 1 then 1,25 then  1,50 .

With Html5 input number we can achieve that with step="0.25".

Here my Syncfusion Numeric Textbox declaration

<ej:NumericTextBox ID="note1" runat="server" Value="0" DecimalPlaces="2" Locale="fr-FR" ></ej:NumericTextBox>


Regards.....


1 Reply

AB Ashokkumar Balasubramanian Syncfusion Team September 28, 2016 02:13 PM UTC

Hi Leks, 
 
Thanks for contacting Syncfusion Support. 
 
We have analyzed your query (“How to set the IncrementStep to decimal value like IncrementStep="0, 25" ”). In our NumericTextbox control IncrementStep property was defined as number, so it doesn’t allow the string value based on the culture format.  
 
You can use the IncrementStep property as integer, please refer the below code snippet.  
 
[ASPX] 
 
  <ej:NumericTextBox ID="note1" Value="0" runat="server"  
            IncrementStep="0.25" DecimalPlaces="2" Locale="fr-FR" /> 
 
 
To know more details about incrementStep property, please refer the below document. 
 
 
We have prepared a sample based on your requirement (“How to set the IncrementStep to decimal value like IncrementStep="0, 25"”) with NumericTextbox control. The sample can be downloaded from the following location. 
 
 
Please let us know if you have further queries. 
 
Regards, 
Ashokkumar B. 


Loader.
Live Chat Icon For mobile
Up arrow icon