Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validate user control
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00884522
Message ID:
00884682
Vues:
11
Hi Bob,

I am assuming that you mean a control contained in the user control. You can in fact validate a control by setting the ControlToValidate property of the validator control to the following:
UserControl1:txtDate
>Is it possible to use a validator control against a user control? I don't mean when I build the user control... I mean, on a web page where I drop the user control, I now want to use a requiredfieldvalidator on that control?
>
>Thanks,
>BOb
-----------------------------------------

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