H
Hailstorm
How can I control if "a textbox is empty or not" with regex validation? I
don't want to use required field validator because I have a masked textbox
control and it has "ValidationExpress" property.
For example, if I want to control if it's a time value, I use
"(([0-1][0-9])|([2][0-3]))[:]([0-5][0-9])" but it doesn't work when textbox
is empty. How can I solve this problem? I want user to fill this area.
And by the way, if I try to use a req field validator for this, my masked
textbox doesn't seem on validator's "Control To Validate" property although
it has been inherited from textbox control.
Waiting for your replies.
Sincerely
don't want to use required field validator because I have a masked textbox
control and it has "ValidationExpress" property.
For example, if I want to control if it's a time value, I use
"(([0-1][0-9])|([2][0-3]))[:]([0-5][0-9])" but it doesn't work when textbox
is empty. How can I solve this problem? I want user to fill this area.
And by the way, if I try to use a req field validator for this, my masked
textbox doesn't seem on validator's "Control To Validate" property although
it has been inherited from textbox control.
Waiting for your replies.
Sincerely