Validation??????
-
Hello, I have an ASP.NET, i am using VB. I am using requiredfieldvalidator to check some textboxes. It is working fine, the problem i am having is that i have two buttons on the page and i only want the validation to happen when one is clicked and it is currently happening for both. How do I get it to only happen with one button? The textboxes and buttons are all serverside controls. Thank you, Santana
-
Hello, I have an ASP.NET, i am using VB. I am using requiredfieldvalidator to check some textboxes. It is working fine, the problem i am having is that i have two buttons on the page and i only want the validation to happen when one is clicked and it is currently happening for both. How do I get it to only happen with one button? The textboxes and buttons are all serverside controls. Thank you, Santana
Set the
CausesValidation
property for the button to False. -
Hello, I have an ASP.NET, i am using VB. I am using requiredfieldvalidator to check some textboxes. It is working fine, the problem i am having is that i have two buttons on the page and i only want the validation to happen when one is clicked and it is currently happening for both. How do I get it to only happen with one button? The textboxes and buttons are all serverside controls. Thank you, Santana