Validation Help

Topics: Validation Application Block
Apr 2, 2008 at 5:03 AM
Question 1

I am using enterprise library 3.1. I have an aspx page which is calling the business component writen as a WCF data contract. I am using ajaxControlToolkit.
I have 2 date picker controls..departure and arrival. I want to set the Validation block so that the arrival date is not less than departure date. I have Origin and Destination as two seperate properties in my WCF component. Can some one show me the code...


I have to do the string validation for one of my text box using enterprise library validation block. NotNullValidator is not fired as the text retured is empty. How to check for empty text using validation block.

thanks in advance