Welcome Guest Search | Active Topics | Sign In | Register

Masked edit Options
Priya
Posted: Tuesday, May 18, 2010 10:33:50 AM
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
eo_support
Posted: Tuesday, May 18, 2010 3:17:58 PM
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
Priya
Posted: Thursday, May 20, 2010 8:34:58 AM
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
eo_support
Posted: Thursday, May 20, 2010 2:01:39 PM
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
Priya
Posted: Wednesday, May 26, 2010 1:57:43 AM
Rank: Member
Groups: Member

Joined: 1/6/2010
Posts: 12
Hai,
To specify the minimum digits "8"

Thanks
eo_support
Posted: Wednesday, May 26, 2010 7:54:35 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.