Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Managing ASP.NET Navigation
Subject:   What different between window.open and hyperlink ? Which is good performance
Date:   2003-04-13 16:34:45
From:   anonymous2
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • What different between window.open and hyperlink ? Which is good performance
    2003-04-14 14:45:06  prosser [View]

    Window.open is a client-side javascript method and has no bearing on performance, at least not with respect to perceived perf by the client. Since that's a purely client-side operation, it really is tangential (and that's stretching it) to any discussion of Response.Redirect/Execute/Transfer.

    Although there are times when a window.open should be used, most times it is simpler just to use a normal hyperlink. Exceptions are when you need to navigate via timed event, selection in a dropdown, etc. Keep in mind that if you do an automatic redirection when the user isn't expecting to be redirected that's a bad thing in most cases. Users just hate unpredictable (to them) interfaces.

    Just my $0.02...