enterprise library - validations

enterprise library - validations

am 01.04.2008 17:15:04 von abcd

Please pardon me if this is not the correct group to discuss. pls suggest the
suitable newsgroup if this is not the right one...

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...

Question2

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

Re: enterprise library - validations

am 02.04.2008 03:48:50 von Alvin Bruney

I think you get a better response on the EntLib support site than in here.

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------




"abcd" wrote in message
news:FC9562DE-FF14-44EE-96DD-CF756648E117@microsoft.com...
> Please pardon me if this is not the correct group to discuss. pls suggest
> the
> suitable newsgroup if this is not the right one...
>
> 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...
>
> Question2
>
> 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
>