Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

ASP.NET Custom Validation

 
webmaster forum
Anchor  Offline
Activity
0%
 
New Coder
Posts: 20
Topics: 16
January 11, 2009, 10:11:56 AM

I have two textboxes, which I want to validate, but the thing is that one of them must be filled, but not both. How can I add this validation to the validation summary? I looked at the methods but none seem to do this. I have added Required Field Validator for other textboxes and their messages are showing up, but I need advise with this.
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
January 11, 2009, 10:56:13 AM

From looking on the web I think you can use a custom validator class - and some programmed logic to achieve this

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
zeceffron  Offline
Activity
0%
 
New Poster
Posts: 4
Topics: 0
July 30, 2010, 05:50:24 AM

 In Asp. net have the facility to give the custom validation provide to the user.  In this when the user create a form in Asp. net than Its just set the number of properties  to the text box.  For example when the user create a forms in this its just set the properties of text box .  like error message, Control to validate etc.  In this no programming is to be create to user for the user just user set the properties.  All this validation are check at the client side.
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page February 07, 2012, 06:43:29 AM