N
NAT
I have a text box control on the form. This is used to enter datetime.So when
a user enters data in this text box I want to check if it matches the
datetime format.If I make the control as DateTime datatype then I cannot
leave the control as blank bcoz the validation is fired saying datatype not
match.
I want that the user can leave the text box as blank but if the user enters
any data then it should only be in the DateTime format.An option could be
using custom validation pattern but I do not know the custom pattern for
DateTime. Any ideas ? Thanks
a user enters data in this text box I want to check if it matches the
datetime format.If I make the control as DateTime datatype then I cannot
leave the control as blank bcoz the validation is fired saying datatype not
match.
I want that the user can leave the text box as blank but if the user enters
any data then it should only be in the DateTime format.An option could be
using custom validation pattern but I do not know the custom pattern for
DateTime. Any ideas ? Thanks