I try tovalidate two dates (start -> end) where only the first ist required, but when the user enters the second date it must be greater than the first. I\'m using the MVC F
Ok after reading http://foolproof.codeplex.com/discussions/220498 on Codeplex I now know it works the other way round:
<Required()> _
<DisplayName("Event Start")> _
<LessThan("EventEnd", PassOnNull:=True)> _
Public Property EventStart As Nullable(Of DateTime)
<DisplayName("Event End")> _
Public Property EventEnd As Nullable(Of DateTime)