Multiple Submit Buttons and validation
Posted on 2004-08-16
I have a problem which is driving me nuts.
i have 3 submit buttoms on my webform which are have their own validation control and ValidationSummary. The problem arises when i click on any of these buttons, the validation of other 2 buttons will run at the same time.
Is there any way to solve this problem. I tried setting enabled=false in the validationFields and try to enable them in code behind file by having:
Private Sub activeButton_click(ByVal sender As System.Object, ByVal e As EventArgs) Handles activeButton.Click
now the user have to click twice on button to validate
thx in advance