Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate user control
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00884522
Message ID:
00884682
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform