Author: studioc | Posted on: 9/28/2008 4:00:02 AM | Views : 439

 

Hi guys, i ha create a CustomValidator control and i wich to use with my C# code.

 What i´m trying to do is ask the user to write an Email to a TextBox. If this email already exists on a string it returns a message " Already exists" if not i want to write on my string. 

 I want that my CustomValidator Control interacts with my C# code.

 

I also debug with the "Breakpoint" and the variable is give me the right value when the comparison between the strings is made but i cannot see the message that of the CustomValidatorControl.

 

Can you help me figure it what is wrong?

Thanks in advance.

Here is the code

  1 <asp:CustomValidator ID="CustomValidator1" runat= ...

Go to the complete details ...