Textbox 1:
Textbox 2:
How to validate the textbox without affecting to the another textbox
Using this method i am getting the Issue that if both textbox has the value only its executing,other wise its showing the ErrorMessage
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pankaj Kumar ChoudharyPosted May 11, 2015, 6:48 AM
here i put validatorgroup in button you can also use it in textbox according your requirement .........
i think now it will be work fine.............
Deepak RatanPosted May 11, 2015, 6:57 AM
Thank you..!!!, Its working fine
Deepak RatanPosted May 11, 2015, 6:40 AM
After including validation group changes also Getting same problem..
For validation group can we give any name?
But it should be differ for both Validators?
Pankaj Kumar ChoudharyPosted May 11, 2015, 6:31 AM
you can find this option in property of validator...........
Deepak RatanPosted May 11, 2015, 6:21 AM
I had change the Id name but getting same problem
Nanhe SiddiquePosted May 11, 2015, 6:05 AM
you can use multiple RequiredfieldValidator in your page .
in your cade both RequiredFieldValidator having same ID name . that ID name of RequiredFieldValidator Should Be change