Hi Victor,
The method called from the ClientValidationFunction and OnServerValidate properties automatically pass a reference to the object. If you need to get at the object outside of the methods then you will need to use reflection.
>How can I get an object reference to the ControlToValidate from the CustomValidator?
>
>I get the feeling that I'm suppose to use the reflection object... since it only stores the text of the ControltoValidate.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi