Topic: Navigation - Different Ways
Ways to Navigate
ASP.NET provides five distinct ways to navigate between pages in your application
NAVIGATION METHOD USE TO
Hyperlink control Navigate to another page
Response.Redirect method Navigate to another page from code. This is equivalent to clicking the hyperlink
Server.Transfer method End the current Web form and begin executing a new Web form. This method
works only when navigating to a Web Forms page (.aspx)
Server.Execute method Begin executing a new Web form while still displaying the current Web form. The
contents of both forms are combines. This method works only when navigating to
a Web Forms page (.aspx)
Windows.Open script method Display a page in a new browser window on the client