Hello,
I am having rad numeric textbox in a Radgrid.
I dont want to allow more than 2 digits after decimal. Below is numeric textbox. It is not working.
<telerik:GridTemplateColumn HeaderText="Price" UniqueName="Price">
<ItemTemplate>
<telerik:RadNumericTextBox ID="txtNewPrice" runat="server" MaxLength="10" AutoCompleteType="None" CssClass="CurPriceTxtbox"
Width="50px" Type="Number" ShowSpinButtons="false" AllowOutOfRangeAutoCorrect="false" InvalidStyle-Font-Bold="true">
<NumberFormat AllowRounding="false" DecimalDigits="2" KeepNotRoundedValue="true" GroupSizes="3"/>
<ClientEvents OnValueChanging="ValueChanged" OnError="HandleError"/>
</telerik:RadNumericTextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
I am having rad numeric textbox in a Radgrid.
I dont want to allow more than 2 digits after decimal. Below is numeric textbox. It is not working.
<telerik:GridTemplateColumn HeaderText="Price" UniqueName="Price">
<ItemTemplate>
<telerik:RadNumericTextBox ID="txtNewPrice" runat="server" MaxLength="10" AutoCompleteType="None" CssClass="CurPriceTxtbox"
Width="50px" Type="Number" ShowSpinButtons="false" AllowOutOfRangeAutoCorrect="false" InvalidStyle-Font-Bold="true">
<NumberFormat AllowRounding="false" DecimalDigits="2" KeepNotRoundedValue="true" GroupSizes="3"/>
<ClientEvents OnValueChanging="ValueChanged" OnError="HandleError"/>
</telerik:RadNumericTextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>