Validation groups - ASP.NET

          

Validation groups  ASP.NET


ASP.NET 2.0 Features
Developer Productivity
            Master Pages
            New Code-Behind Model in ASP.NET 2.0
            Creating & Sharing Reusable Components 
            New ASP.NET 2.0 Controls
                       Data Controls
                       Security Controls
                       Other New Controls
                       Validation Groups
            Themes
            Web Parts Framework
            Visual Studio 2005 Improvements
Administration and Management
Speed and Performance
            Caching Feature
ASP.NET 2.0 Validation Group 

Professional ASP.NET 2.0 Databases

This excerpt from Professional ASP.NET 2.0 Databases   by Thiru Thangarathinam, is printed with permission from
Wrox Publication.
<<Previous  Next>>

Validation Groups

In ASP.NET 1.x, you would assign validation controls to input controls such as text boxes, password fields, radio buttons, and check boxes, and the validation controls would automatically validate the data entered by an end user to input controls. With ASP.NET 2.0, Microsoft introduces a new feature known as validation groups, which enables you to create different groups of validation controls and assign them to input controls, such as text boxes. You can assign a validation group to a collection of input controls if you want to validate the collection of input controls on the same criteria. For example, you can assign the button control to a group of input controls and validate the data entered to each group of input controls on a criterion. This feature is very handy when you have multiple forms on a single web page. For example, you can create a web page that contains login and password text boxes for registered end users, and another set of controls for new end users to register with the web site. In this case, you can use the validation group property to perform different actions, such as logging on to the web site and registering an end user.

<<Previous  Next>>



Write your comment - Share Knowledge and Experience


More Related links 

Explain ASP.NET Ajax Framework.

Answer - ASP.NET Ajax Framework is used for implementing the Ajax functionality......

Explain limitations of Ajax.

Answer - Back functionality cannot work because the dynamic pages don’t register themselves to the browsers history engine..........

MVC Design

MVC, which stands for Model View Controller, is a design pattern that helps us achieve the decoupling of data access and business logic from the presentation code , and also gives us the opportunity to unit test the GUI effectively and neatly, without worrying about GUI changes at all..........

REST: Representation State Transfer

REST means Representational State Transfer, an architectural pattern used to identify and fetch resources from networked systems such as the World Wide Web (WWW). The REST architecture was the foundation of World Wide Web. But the term itself came into being around the year 2000, and is quite a buzzword these days...........

ASP.NET and its Methodologies
Problems ASP.NET Solves
ASP.NET issues and options available to improve
What Is AJAX? History of AJAX, Advantages of AJAX
Technologies That Make Up AJAX
What Is ASP.NET 2.0 AJAX?
The components in the ASP.NET 2.0 AJAX packaging

 

Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring