Hi
I want that Web Control Textbox should accept only Numeric Digits , . , & Backspace . I want that i should write logic only once for my whole project where i want this condition , i should call this logic. Is it possible that i should be able to use in any other project.
Thanks
Loading
Jiteendra SampathiraoPosted Jun 8, 2011, 3:03 AM
Check the code in download file:
Jagjit SainiPosted Jun 8, 2011, 2:54 AM
That code i have to written in every HTML page where i require this . I want atleast for the project i should have to write only once.
Thanks
Jiteendra SampathiraoPosted Jun 8, 2011, 2:29 AM
If you are using the asp.net RegularExpressValidatior or AjaxToolkitlibrary control, you should write the expression at every control.
If you use JavaScript or JQuery etc: you can use it, where ever you want...
Sandeep ShekhawatPosted Jun 8, 2011, 2:28 AM
CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
TargetControlID="txtpin" MaskType="Number">