Hello everyone,
Currently I am using a multiview form and using NextView & PrevView buttons for navigation.
The problem comes when I have to do some validation, whereby I make an onclick event for the NextView button which I then run some Validation to make sure a radio button has been selected. Here is the code for the button click event:
Protected Sub Button6_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button6.Click
If (rmovement.Checked = False) Then
ElseIf (rriptide.Checked = False) Then
ElseIf (rbodyboarder.Checked = False) Then
Label4.Text = "Please select an option!"
End If
End Sub
How can I make it so that it doesn't go to the next view if someone is not valid?
Any help greatly appreciated.
...
Go to the complete details ...