Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Validator
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00783420
Message ID:
00783430
Views:
12
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.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform