Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi Frnds,
I have two buttons in a form as sign up and Login in same form.SignUp and Login design in same page.for all textboxes i used regular expression and when i clicked login button sigup textbox also getting validating.showing enter first name for first name textbox.
Posted

1 solution

Hey there,

Use ValidationGroup property of Validator Control, Buttons and TextBoxes,

Just give the Signup and Signin controls separate ValidationGroup.

http://msdn.microsoft.com/en-us/library/ms227424%28v=vs.100%29.aspx[^]

Hope it helps.

Azee....
 
Share this answer
 
v2
Comments
itsureshuk 4-Oct-13 3:43am    
Thanks

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