.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

ajax validatorcallout extender

Posted By: bitedevil     Posted Date: December 15, 2009    Points:2   Category :C#
is it possible to validate multiple validations using one validatorcallout?

Ex:- suppose there is a text box to capture password and need to be validated following.

Password should be
1. 6- 20 characters
2. Mix of letters, numbers or symbols.
3. Not similar to the userID etc..

is it possible using ajax validatorcallout extender? also it should appear with setting focus to the textbox and validation should take place while the user is entering values.

Please be kind enough to give me proper idea also I'm just a beginner.

Author: Amit Mehra             
Posted Date: December 15, 2009     Points: 5   


Well you can not multiple Validation using one validator callout. but logically if you see you can perform (according to your given input) 1 and 2 using one regular expression validation control so for this you can have one Validator callout.

Hope this answer your question


Please "Mark As Answer " if this post help you.
Author: bitedevil             
Posted Date: December 16, 2009     Points: 5   

Thanks for your kind replay Amit.

But I need a way to find an exact way to do it. I saw it on ebay. while I was entering some text to password text box on the registering form. that is exactly what i want to do. so do you have any idea?

Author: Amit Mehra             
Posted Date: December 16, 2009     Points: 5   


You can use Multiple validatorcallout extender to validate One TextBox and it will give user the same feel if user entering wrong value.

You can try it out.


Please "Mark As Answer " if this post help you.
Author: nishithraj             
Posted Date: December 18, 2009     Points: 5   

Multiple validations using one validatorcallout is not possible, since one object of validatorcallout can occupy one validation at a time.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend