Video: Using ValidationGroup Control with User Controls
page 1 of 1
Published: 15 Sep 2008
Unedited - Community Contributed
In this video Mohammad Azam demonstrates how to use the ValidationGroup property with user controls. Each user control by default fires the validation of the other one. Using the ValidationGroup property he is able to control which validation is firing. [5:42]
by Mohammad Azam
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 8493/ 12



[Play the Video] - Requires Registration/Login

[Download Sample]


·         The ValidationGroup property allows validating a group of controls.

·         Setting the custom ValidationGroup property on user controls will allow us to validate the user control as a single unit.








User Comments

Title: Video: Using ValidationGroup Control with User Controls   
Name: LA Guy
Date: 2009-05-29 2:49:18 PM
Hi Mohammed,

Thank you for this video !

It's helped me out in setting up required field validator for a "Date / Ajax Calendar User Control" that I put on almost all of my web pages.

I didn't know that the ValidationGroup property on controls gets saved in ViewState["ValidationGroup"] !

Regards, LA Guy

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-04-18 3:28:38 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search