Home > DeveloperSection > Blogs > Different Navigation in ASP.Net

Different Navigation in ASP.Net


ASP.Net ASP.Net 
Ratings:
0 Comment(s)
 1939  View(s)
Rate this:

DifferentNavigation in ASP.Net


ASP.NETsupports following ways to navigate between pages in your application.

  • HyperlinkControl

  • Response.RedirectMethod

  • Server.TransferMethod

  • Server.ExecuteMethod

  • Window.OpenMethod

Descriptionof Navigation method


Hyperlinkcontrol

This isserver control use for navigation to another page specified in the NavigateURLproperty. Hyperlink control doesn’t expose any server side event.

Response.Redirectmethod

This methodis used to navigate to another page from code. You can use this method tonavigate from a Linkbutton or ImageButton control.

For example

               Response.Redirect("Login.aspx")

Server.Transfermethod

This methodcan be used only with .aspx file. It allows retaining some information betweenthe requests when its preserveForm argument is set to true.

Server.Executemethod

LikeServer.Transfer, this method is also used with .aspx file only. This methodenables new page execution while still displaying the current web form.

Window.Openmethod

Display apage in a new browser window on the client.


Don't want to miss updates? Please click the below button!

Follow MindStick