ARTICLE

ASP.Net Toolbox (Validation Control): Part 3

Posted by Abhimanyu Kumar Vatsa Articles | ASP.NET using VB.NET September 02, 2010
In this article we will discuss, ASP.Net Toolbox controls and its uses. In this article I am only writing some lines on each and every control available in Validation Control section.
 
Reader Level:

Introduction

Here is Part 2


Toolbox is very-very important building block of .NET Framework. Toolbox is an area where all the controls existed. It helps the developer to develop any application very quickly, only drag the control from the toolbox and drop it on the form. To change its properties we have to select the control and make the properties changes from Properties window. We can do it manually by writing code-behind. There are over 100 controls available in ASP.NET 4.0. I am listing here all the controls available in ASP.NET 4.0 and writing some lines on each of them.

3.JPG


3. Validation Controls:

Such controls are used to validate the data of an input control. If the data does not pass validation, it will display an error message to the user. It is very-very useful in client side validation.

  • Pointer: It is just a pointer. If we drag any other control on form it causes to create that control on form but pointer does not create any control on form. In other word we can say, we select it for to ignore any other selected control.
  • CompareValidator: This control is used to compare the value of one input control to the value of another input control or to a fixed value.
  • CustomValidator: This control is used to allow the developer to write a validation method to handle the validation of the value entered in any input control.
  • RangeValidator: This control is used to check that the user has entered the value falls between the specified value or not. Possibly used to check ranges, numbers, dates, string etc.
  • RegularExpressionValidator: This control is used to check that inputted value by user matches the pattern or not.
  • RequiredFieldValidator: This control is simply used with every input control to make that control is required.
  • ValidationSummery: This control is used to simply display a summary of all the validation errors.


Note1: Keep visiting to my articles, you will find different articles on different controls separately in coming days.

Note2: Continue in next part.

HAVE A GREAT CODING!
 

share this article :
post comment
 

thanks

i am planning to write separate article on each of control available in .NET Framework.

Posted by Abhimanyu Kumar Vatsa Sep 06, 2010

Hi Abhi,
Please provide some examples related to your articles ,it will look better.

Posted by Satyapriya Nayak Sep 05, 2010
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor