ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

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-14 14:45:06
From:   prosser
Response to: What different between window.open and hyperlink ? Which is good performance

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...