Topic: Navigation - Using Hyperlinks and redirection
Navigation using Hyperlinks and Redirection
Hyperlink server controls respond to user click events by displaying the page specified in the control's "NavigateURL" property.
The hyperlink control does not expose any server-side user events; if you want to intercept a click event in code, use the
LinkButton control or the ImageButton server control.
To navigate from a Link Button or ImageButton control, use the "Response" object's "Redirect" method below:
private void LinkButton1_Click(object sender, System.EventArgs e)
{
// Display next page
Response.Redirect("NextPage.aspx");
}