Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 13th, 2003, 06:52 AM
Registered User
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASPX page not getting refreshed

Hi,

    From my ASP.Net page I am invoking a pop-up window, where I am setting some Key values and closing it.
Now on closing the pop-up my changes get reflected in DataBase and Session. But after closing the pop-up, when I transfer the
control to the calling page, it does not refresh its contents, rather it displays the older contents, although I am refetching the data from the database and binding the new data to all the controls.
    But when I press F5 or Refresh button the page shows new values.
    The enableviewstate properties of the controls are set to false. But still the problem is there.

Please let me know how to fix the issue.

TIA and Regards,
Swanand

 
Old September 15th, 2003, 09:30 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What do you mean by "transfer the control to the calling page"? Can you provide a code example? It sounds like you are not telling the "opener" window to refresh thru the code. The page is getting the new data when you manually refresh it, but unless you tell that page to refresh from the pop-up window when it's closed, you won't get a refresh.

Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
when page refreshed layout breaks in IE7 socoolbrewster CSS Cascading Style Sheets 1 May 17th, 2008 11:05 PM
Onload frame is refreshed and page is not found taraprasad Pro JSP 1 January 14th, 2008 04:59 AM
The page cannot be refreshed without sending ... toshi Javascript 2 September 26th, 2006 03:00 AM
Returning to Parent page with refreshed New Data warrenb24 General .NET 0 February 22nd, 2005 08:45 AM
How to pass the variables in Aspx page to Asp Page jayaraj ASP.NET 1.0 and 1.1 Basics 3 May 23rd, 2004 06:55 AM





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