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

VERY URGENT:Radtextbox will accept values like XX,YY format only

1 Answer 11 Views
Input
This is a migrated thread and some comments may be shown as answers.
Pravallika
Top achievements
Rank 1
Pravallika asked on 20 Aug 2014, 01:54 PM
Hai All,


i have a Radtext box in asp.net it will accept only number and decimals only in the format of XX,YY not more than two numbers means 

ex:12,45
12.45,24.5
0.57,34.5
it will accepct


not like this error:

Ex:12.34.34,23.45
,23.346,34
23.45,45.44.55
then it will show error

plz any one help me very urgent

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Aug 2014, 03:45 AM
Hi Pravallika,

In order to achieve your scenario try to use the RadNumericTextBox as follows.

ASPX:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server">
    <NumberFormat GroupSeparator="," GroupSizes="2" />
</telerik:RadNumericTextBox>

Let me know if you have any concern.
Thanks,
Shinu.
Tags
Input
Asked by
Pravallika
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or