Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hi,
I am using a text box.Depending up on the value entered in the text box,it will add to the panel bar.
1.If i dont enter any value ,it has to validate,I am able to validate this one.
2.If i enter already existing value in the panel bar,Then i have to validate for duplicate values.
For this,I implemented like,In the controller i wrote the query to compare the entered value and returns the count.If the count value is "0" then it is new value and I am adding it to the panel bar using append method.but if the returned value is "1" then That is already existing value and i have to pass the validation message for duplicate value.can u suggest me,how to implement this..
Posted
Updated 19-Jun-12 20:11pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900