asp.net ajax MaskedEditExtender

时间:2009-12-08 07:14:32

标签: asp.net ajax maskededitextender

我正在使用maskeditexdenter获取金钱价值,问题是当输入给出它从左到右时我需要它从右到左。代码是

 <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"/>

1 个答案:

答案 0 :(得分:1)

Hai anand试试这个,

<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"
/>