M
Morton
I added two buttons to a web page. One has 'Causes Validation' set to True -
the othe to false.
When I click the button set to 'Causes Validation' - the expected validation
messages appear.
When I click the button with no validation - nothing happens.
What I expected was that the "Response.Redirect" line would be fired.
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnCancel.Click
Response.Redirect("Default.aspx")
End Sub
If I set a stop point at the subroutine - it is ignored.
Any suggestions as to what I am missing?
the othe to false.
When I click the button set to 'Causes Validation' - the expected validation
messages appear.
When I click the button with no validation - nothing happens.
What I expected was that the "Response.Redirect" line would be fired.
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnCancel.Click
Response.Redirect("Default.aspx")
End Sub
If I set a stop point at the subroutine - it is ignored.
Any suggestions as to what I am missing?