|
Rank: Advanced Member Groups: Member
Joined: 11/15/2008 Posts: 44
|
I have notice in a couple of situations that MaskedEdit.PromptChar does not work correctly. For example PromptChar='0' for the below results in "48.48.48.48" (noticing that 48 is the ASCII code for '0'). PromptChar='' yields "___.___.___.___". May I presume that this is not the intended behavior? Quote:<eo:MaskedEdit ID="MaskedEdit_SourceIP" runat="server" Width="120"> <eo:MaskedEditSegment MinValue="0" MaxValue="255" Decimals="0" IsRequired="true" SegmentType="Number" /> <eo:MaskedEditSegment Text="." /> <eo:MaskedEditSegment MinValue="0" MaxValue="255" Decimals="0" IsRequired="true" SegmentType="Number" /> <eo:MaskedEditSegment Text="." /> <eo:MaskedEditSegment MinValue="0" MaxValue="255" Decimals="0" IsRequired="true" SegmentType="Number" /> <eo:MaskedEditSegment Text="." /> <eo:MaskedEditSegment MinValue="0" MaxValue="255" Decimals="0" IsRequired="true" SegmentType="Number" /> </eo:MaskedEdit>
Thanks, Chris
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The first case is a known issue and we are working on it. I believe the second case is by design. PromptChar is meant to be one character long. If it is not, then the code defaults back to "_".
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/15/2008 Posts: 44
|
Thanks!! Yeah, the second case was expected behavior.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that fixed the PromptChar issue. Please see your private message for download location.
Thanks!
|
|