Login:  Password:    
forgot my password
sign up!
Search: 
 
  This post is part of:
    Online course(s):   
 Course ASP.NET 4 and Visual Studio 2010

CustomValidator and ValidationSummary - Course ASP.NET 4 and Visual Studio 2010 - Lesson 18 | DevMedia .net courses

In this video, we are going to discuss the CustomValidator and the ValidationSummary controls.

"

Duration:  24 minutes

Summary: On this video, we are going to discuss the CustomValidator and the ValidationSummary controls. You can customize a validator to your needs using the CustomValidator. After setting the basic properties like other validators, you can set the OnServerValidate and the ClientValidationFunction properties to indicate the server method and the client function respectively. The ValidationSummary control displays a summary of all the validations on the page. Usually, you put this summary at the top of the page to make it easy for the user to see all the errors especially if the form is long (spanning multiple pages). The DisplayMode, HeaderText, ShowMessageBox, and ShowSummary properties are useful to setup the validation summary. When you are using the ShowMessageBox, make sure the Display mode is "None" and the EnableClientScript property set to true.

Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.

Technology Used: ASP.NET and Visual Studio 2010

Keyword: ASP.NET 4, Visual Studio 2010, CustomValidator, ValidationSummary, OnServerValidate, ClientValidationFunction, ShowSummary, ShowMessageBox, EnableClientScript, DisplayMode, HeaderText




Add a comment!
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


Eric Cartman
5/4/2012 10:53am
Code what you say If you're going to make an informational video at least don't say one thing and code another. The validation says Last name must be > 10 chars, but it validates that the last name is actually < 10 characters. Also don't screw up in a simple video and continue as if nothing happened. Stop the video figure out what you did wrong and don't do it again.

Answer it
 
Ayad
5/4/2012 5:59pm
RE:   Hi Eric,
Honest mistakes always happen... but I am really humbled by your professional feedback.
 


Answer it
 



 
Help us to improve! Give us your feedback:
Give your note to the technical content
10 9 8 7 6 5 4 3 2 1
Give your note to the post's learning
10 9 8 7 6 5 4 3 2 1
Is this post helpful?
Yes No


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...


Go to author's Space


Post stats:
Favorited:
 0
Tech Content:
Learning:
Helpful?
0 1
votes:1

Post actions:
[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits








mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2012 - all rights reserved to www.web-03.net