I create a usercontrol that provides all the general checks for a range of styles of text fields: alpha, number, decimal, SSN, etc., so when the developer using this control selects the alpha style, they can also choose another property. which defines a string of special characters that can also be resolved during validation.
but when a decimal style is selected, for example, I would just like to turn off the special character property so that it does not set when a style is selected that does not allow the use of special characters.
How can I achieve this?
thank
source
share