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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted May 11, 2015, 2:48 AM EDT
here i put validatorgroup in button you can also use it in textbox according your requirement .........
i think now it will be work fine.............
Nanhe SiddiqueRank #1,103 · 1.7K reputationPosted May 11, 2015, 2:05 AM EDT
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
Deepak Ratan175 reputationPosted May 11, 2015, 2:21 AM EDT
I had change the Id name but getting same problem
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted May 11, 2015, 2:31 AM EDT
you can find this option in property of validator...........
Deepak Ratan175 reputationPosted May 11, 2015, 2:40 AM EDT
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?
Deepak Ratan175 reputationPosted May 11, 2015, 2:57 AM EDT
Thank you..!!!, Its working fine