Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 14th, 2008, 01:13 PM
Authorized User
Join Date: Jun 2007
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page_Load not firing on "Cntrl + N"

Hi All,
I have a asp.net web form.
when I do a postback on my webpage and then do a "cntrl + N" to open new window...it does not call the server.

I want to call Page_Load everytime I open a new window using "Cntrl +N".

Any ideas on how to achieve this.

  #2 (permalink)  
Old March 14th, 2008, 02:09 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

There are many browsers out there and they all have their own behavior when you open a new window. For me Firefox opens a new window with nothing in it (probably because I have no home page set). Internet Explorer opens a new window with the same page from the previous window open. However, it opens the page from the cache if it can it would seem.

The only way you'll be able to enforce this "always load" behavior is to explicitly set an immediate expiration for the page so the browser is forced to re-request the page every time it loads it. However this will have the side effect of also reloading the page if the user hits the browser back/forward button and goes views your page again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access - calculate a cntrl/values from 2nd cntrl CongoGrey Access 3 April 8th, 2005 06:48 AM
Page_Load not working! New2ASPnet General .NET 6 July 28th, 2004 01:53 PM
forcing a page_load ? Rashe ASP.NET 1.0 and 1.1 Basics 2 February 16th, 2004 10:53 AM
force Page_Load miguel.ossa ASP.NET 1.0 and 1.1 Basics 7 January 23rd, 2004 06:04 AM

All times are GMT -4. The time now is 07:17 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.