Advertisement

06.07.2008 at 12:08AM PDT, ID: 23465717
[x]
Attachment Details

Masked Edit Extender - currency

Asked by ARACK04 in Programming for ASP.NET

Tags: ASP.NET

For some reason I cannot get the textbox below to render correctly - it is cutting of everything to the left of the decimal, and displaying .254 instead of 12.254

Setting ClearMaskOnLostFocus to true fixes it, but I need this value in there - I want the dollar sign to always be visible.

<asp:TextBox  runat="server" ID="tbUnitCost2" Text="12.254" />
    <cc1:MaskedEditExtender Enabled="true" ID="MaskExtender" runat="server" PromptCharacter=" "
        TargetControlID="tbUnitCost2" Mask="99999.999" ClearMaskOnLostFocus="false" AutoComplete="false"
        MaskType="Number" InputDirection="RightToLeft" AcceptNegative="None" DisplayMoney="Left"  
        ErrorTooltipEnabled="True"  />Start Free Trial
[+][-]06.07.2008 at 05:40AM PDT, ID: 21735233

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Tags: ASP.NET
Sign Up Now!
Solution Provided By: emoreau
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628