Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Validator
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00783420
Message ID:
00783430
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform