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

Sandeep ShekhawatRank #2,439 · 577 reputationPosted Jun 7, 2011, 10:28 PM EDT
CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder=""
CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True"
TargetControlID="txtpin" MaskType="Number">
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jun 7, 2011, 10:29 PM EDT
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...
Jagjit Saini166 reputationPosted Jun 7, 2011, 10:54 PM EDT
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 SampathiraoRank #585 · 4.1K reputationPosted Jun 7, 2011, 11:03 PM EDT
Check the code in download file: