Welcome Guest Search | Active Topics | Sign In | Register

MaskedEdit.PromptChar ... Whazup? Options
ixthnar
Posted: Monday, September 28, 2009 2:09:26 PM
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
eo_support
Posted: Monday, September 28, 2009 2:16:37 PM
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!
ixthnar
Posted: Monday, September 28, 2009 2:32:34 PM
Rank: Advanced Member
Groups: Member

Joined: 11/15/2008
Posts: 44
Thanks!! Yeah, the second case was expected behavior.


eo_support
Posted: Friday, October 2, 2009 2:15:57 PM
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!


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.