I have an AJAX ToolKit MaskedEditExtender control:
<asp:TextBox ID="payRateTextBox" runat="server"
CssClass="valueControl"></asp:TextBox>
<asp:MaskedEditExtender ID="payRateMaskedEditExtender" runat="server"
AcceptNegative="Left" InputDirection="RightToLeft"
Mask="999.99" MaskType="Number"
TargetControlID="payRateTextBox" />
Empty text looks like the following when it gets focus:
____.__
The problem is the extender dosent allow user to enter a 0 as the first entered character in the first digit at the left of the point (Where the X resides) ..
___X.___
Here is a demonstration.
Suggestions are apprectiated ..
I know I cant earn my own bounty, so, my answer here is just for suggesting a solution for the problem.
The problem can be solved simply by eliminating the assigning of the
InputDirectionproperty !! I guess it is not appropriate to use it while using float point anyway ..Of course if I knew that at first place I would save a 50 reputations 😉