What asp.net verification control should I use?

I have two text fields, each of which contains time (textboxA / textboxB). I need to be able to verify that textboxA is in front of the text box.

For exmaple:

  • textboxA = 10:30 / textboxB = 12:30 VALIDATION = true
  • textboxA = 10: 30 / textboxB = 10:00 VALIDATION = false

I would prefer to do checks using server controls.

Thanks in advance for your help.

Clare

+3
source share
1 answer

CompareValidator , .NETs , , .

Page.IsValid, , , .

+7

Source: https://habr.com/ru/post/1718471/


All Articles