简体   繁体   中英

asp.net ajax MaskedEditExtender

hi i'm using the maskeditexdenter for getting money value ,the problem is when the input is given it takes it from left to right i want it to take it from right to left. the code is

 <asp:TextBox ID="txt_actual_ConveyanceCharges" CssClass="Controls" runat="server"></asp:TextBox>
<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txt_actual_ConveyanceCharges" Mask="99,999,999.99" MaskType=Number  InputDirection="RightToLeft"/>

Hai anand Try this,

<ajaxToolkit:MaskedEditExtender runat="server"
TargetControlID="UrTxtBoxID" 
Mask="9,999,999.99"
MessageValidatorTip="true" 
OnFocusCssClass="MaskedEditFocus" 
OnInvalidCssClass="MaskedEditError"
MaskType="Number" 
InputDirection="RightToLeft" 
AcceptNegative="Left" 
DisplayMoney="Left"
/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM