473,503 Members | 3,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

blank pages & RegisterStartupScript

I use javascript to open a child window from the browser (window.open.....)
this is then registered with the system using Page.RegisterStartupScript, it
display the child peffectly fine. The problem is that all the links on the
parrent (main) window now display a blank page when clicked on, they work
perfectly fine before the popup window is displayed.

Anyone got any ideas why?

Could it have anything to do with caching?
Cheers Ollie
Nov 18 '05 #1
2 2100
man, that's strange. is the page navigating to a different url or posting
back to process server events. if so, is the browser navigating to the
pages? Is the server script executing? (you can set a breakpoint on the
event to check this)

"Ollie" <ol**********@hotmail.com> wrote in message
news:ur*************@tk2msftngp13.phx.gbl...
I use javascript to open a child window from the browser (window.open.....) this is then registered with the system using Page.RegisterStartupScript, it display the child peffectly fine. The problem is that all the links on the
parrent (main) window now display a blank page when clicked on, they work
perfectly fine before the popup window is displayed.

Anyone got any ideas why?

Could it have anything to do with caching?
Cheers Ollie

Nov 18 '05 #2
cheers for the reply David,

When the user clicks on the a linkbutton (asp.net control) a dynamic url is
created server side and registered so that the popup window is displayed.

I solved the problem by disabling smartNavigation at the web.config level,
this solved the issue.

I have read that smart nvaigation in asp.net causes problems with
response.redirect but never thought
it would cause problems with attempts to redirect after a
Page.RegisterStartupScript had been called.

Cheers

Ollie
"David Jessee" <dj*****@houston.rr.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
man, that's strange. is the page navigating to a different url or posting
back to process server events. if so, is the browser navigating to the
pages? Is the server script executing? (you can set a breakpoint on the
event to check this)

"Ollie" <ol**********@hotmail.com> wrote in message
news:ur*************@tk2msftngp13.phx.gbl...
I use javascript to open a child window from the browser (window.open.....)
this is then registered with the system using Page.RegisterStartupScript, it
display the child peffectly fine. The problem is that all the links on

the parrent (main) window now display a blank page when clicked on, they work perfectly fine before the popup window is displayed.

Anyone got any ideas why?

Could it have anything to do with caching?
Cheers Ollie


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3392
by: Dariusz | last post by:
I have a problem with a call a Javascript "window.open()" function which is executed as part of a PHP file when a user clicks on an thumbnail image. The PHP is executed which passes some variables...
4
4832
by: Jody Gelowitz | last post by:
I am having a problem with printing selected pages. Actually, the problem isn't with printing selected pages as it is more to do with having blank pages print for those pages that have not been...
5
2536
by: Usenet User | last post by:
A user informed me that some pages I've created with nested tables are spewing out dozens of blank pages at the end of a print run. No one noticed this for a long time, as printer-friendly files...
6
4678
by: noway | last post by:
I have greated a report and have included a page break in it. The report breaks were it is supposed to but then it creates a blank page between the two pages. Since this report will print out...
5
2261
by: terry | last post by:
Hi, Question: When using Framesets and Server.Transfer in the Application_Error event handler is there a mechanism to get the error page to display in the total view of the browser not just in...
6
1969
by: Bill Jones | last post by:
I'm trying to use this.RegisterStartupScript to add some javascript to and aspx page that will run when the page is loaded. Does anyone know if this function only works in the Page_Load function? ...
4
3278
by: klynn | last post by:
In my Page_Load I call a RegisterStartupScript. I know its getting called. Yet, its not opening the page. I tried to open a regular .html file as well. Same problem. I know I can open 1. popup...
4
3138
by: Mal Reeve | last post by:
Hello, I have a report that has only 2 levels of grouping. The detail section is simply 1 large block for a memo field. I am finding that on some occasions the report errors and generates...
5
2212
by: thatsMaBoy | last post by:
Hi, I am attempting to display a simple Javascript alert when a webpage loads. It works on some pages but not on others. For example, the following code does not produce an alert: Code in...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.