How can I accept only one "." in Textbox that is accepting only numeric value?
I am using an ajax tool called FilteredTextBoxExtender
this is my sample code:
<asp:TextBox ID="txtMNumberOfHours" runat="server"
Width="50px" MaxLength="10"></asp:TextBox>
<asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
FilterType="Numbers, Custom" ValidChars="."
TargetControlID="txtMNumberOfHours" ></asp:FilteredTextBoxExtender>
in this code, I can enter multiple "." which is not good.