Hi.
I want to use a RadMaskedTextBox to have my users force to use a valus in certain way. The input I am expecting is in the format <number>.<number>. Either side of the . has numerical value and there is no restriction on the length of the number, it can be as low as 1 and as high as 999,999,999.
I tried using Mask="<1..999999999>.<1..999999999>" but this will show up as 000000001.000000001 in the textbox when the page loads. If users want to type in 44.44, they will have to skip the first seven 0s to enter the 44 on each side of the period.
I also tried Mask="<#|##|###|####|#####|######|#######>.<#|##|###|####|#####|######|#######>" but this doesn't render properly as well; shows up as #______.#______ in the textbox.
Is there any way to solve this problem? Or is my scenario best handled with RadTextBox and asp RegularExpressionValidator?
Thanks.
Gaurab
I want to use a RadMaskedTextBox to have my users force to use a valus in certain way. The input I am expecting is in the format <number>.<number>. Either side of the . has numerical value and there is no restriction on the length of the number, it can be as low as 1 and as high as 999,999,999.
I tried using Mask="<1..999999999>.<1..999999999>" but this will show up as 000000001.000000001 in the textbox when the page loads. If users want to type in 44.44, they will have to skip the first seven 0s to enter the 44 on each side of the period.
I also tried Mask="<#|##|###|####|#####|######|#######>.<#|##|###|####|#####|######|#######>" but this doesn't render properly as well; shows up as #______.#______ in the textbox.
Is there any way to solve this problem? Or is my scenario best handled with RadTextBox and asp RegularExpressionValidator?
Thanks.
Gaurab