Video: Using ValidationGroup Control with User Controls
page 1 of 1
Published: 15 Sep 2008
Unedited - Community Contributed
Abstract
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
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 8489/ 19

 

View

[Play the Video] - Requires Registration/Login

[Download Sample]

Notes

·         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
Comment:
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 ASPAlliance.com  |  Page Processed at 2024-04-24 7:47:07 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search