I have three buttons one for submit order, one for cancel order and one for reset and I would like to go back to the previous page when the user cancel the order by clicking the cancel buttton but it forces me to enter a value to the requiered field first before it takes me back to the previous page. I just want to cancel the order and exit. I do not want to validate anything when I canel order how can I do this.
Protected Sub btnCancel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancel.Click
Response.Redirect("plans.aspx")
End Sub
Protected Sub btnCancel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancel.Click
Response.Redirect("plans.aspx")
End Sub