Hello!
I need to create a validator that fires if i enter an invalid string (e.g. "abcd")
but does not fire if i enter an empty string.
I know that the SelectionChanged Event fires only if a valid date is entered.
Thus if i create a CustomValidator e.Value is empty even if an invalid string is entered e.g. "abcd".
I tried the approach with clientside validation but in this case the args.InputText Property of the OnError event is "UNDEFINED". (the event is fired but args.InputText is undefined)
For me the best case would be the validation would work server side. (so i am not looking for a javascript solution to my problem).
thx in advance
Markus
I need to create a validator that fires if i enter an invalid string (e.g. "abcd")
but does not fire if i enter an empty string.
I know that the SelectionChanged Event fires only if a valid date is entered.
Thus if i create a CustomValidator e.Value is empty even if an invalid string is entered e.g. "abcd".
I tried the approach with clientside validation but in this case the args.InputText Property of the OnError event is "UNDEFINED". (the event is fired but args.InputText is undefined)
For me the best case would be the validation would work server side. (so i am not looking for a javascript solution to my problem).
thx in advance
Markus