|
Rank: Member Groups: Member
Joined: 1/6/2010 Posts: 12
|
1) In masked edit how to avoid values discarding while I entered the values more than the digits that i specified in the max value.
2) How to entered the minimum digits and maximum digits
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I am not sure what you mean by either question. Can you elaborate?
Thanks
|
|
Rank: Member Groups: Member
Joined: 1/6/2010 Posts: 12
|
Hai, <eo:MaskedEdit ID="txtPayMobile" runat="server" PromptChar=" " Width="120px"> <eo:MaskedEditSegment SegmentType="Number" MaxValue="999999999999" MinValue="10000000" IsRequired="true" /> </eo:MaskedEdit> I am using the above code in my application .If i enter the value "123" in that text box it automatically change into 10000000 but I want to change it to 00000123.How to do this..?Pls help me.
Thanks & Regards, Priya
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Is there any reason why you set MinValue to "10000000" when you want to enter "123"?
Thanks
|
|
Rank: Member Groups: Member
Joined: 1/6/2010 Posts: 12
|
Hai, To specify the minimum digits "8"
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You will need to take "123" and add the padding 0s yourself. It can't be more obvious that when you set MinValue as "10000000", neither "123" nor "00000123" will be valid input. Thanks!
|
|