473,788 Members | 2,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

blank pages & RegisterStartup Script

I use javascript to open a child window from the browser (window.open... ..)
this is then registered with the system using Page.RegisterSt artupScript, 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 2122
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**********@h otmail.com> wrote in message
news:ur******** *****@tk2msftng p13.phx.gbl...
I use javascript to open a child window from the browser (window.open... ..) this is then registered with the system using Page.RegisterSt artupScript, 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.redire ct but never thought
it would cause problems with attempts to redirect after a
Page.RegisterSt artupScript had been called.

Cheers

Ollie
"David Jessee" <dj*****@housto n.rr.com> wrote in message
news:%2******** ********@tk2msf tngp13.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**********@h otmail.com> wrote in message
news:ur******** *****@tk2msftng p13.phx.gbl...
I use javascript to open a child window from the browser (window.open... ..)
this is then registered with the system using Page.RegisterSt artupScript, 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
3406
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 to Javascript to execute the new window opening. But as it does this, the main window is loaded which is blank (the browser URL bar shows the URL of the URL passed to the PHP / Javascript script). I would like to keep the gallery page visible...
4
4858
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 selected. For example, if I were to have 5 pages with every second page printing, I would get the following results: Page 1 = Print OK Page 2 = Blank Page 3 = Print OK Page 4 = Blank
5
2548
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 are available elsewhere, and the .htm files are intended for online viewing. But still, others will click 'print' in the browser window, so I'd like to stop all that paper from being wasted. The pages seem to validate okay. Any ideas? Is...
6
4705
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 approx 20 pages (without the blank pages) it is large waste of paper. I have tested the report by setting the data source so that only one page will print and all the data fits on page. I have checked all the printing parameter, set the print magins...
5
2276
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 the offending frame? Overview: I have an application in which I am using framesets. When an Unhandled exception occurs I try to handle it
6
1987
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? Or can I put it anywhere. Right now it is inside the eventhandler function that is called on the "CheckChanged" event of a checkbox, but it never seems to add the javascript code to the page. Is there another way to do this? Let me explain the...
4
3310
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 windows. I tested this with a whole different application and it works fine. (different calling and receiving page though). And the bummer is that it used to work last year when I last worked on this. I'm sure of it. I even grabbed the same codebase...
4
3158
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 hundreds (perhaps even an infinite loop...I have to break the system to stop the report generating) of pages. While I'm not 100% I think this may have something to do with the detail
5
2230
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 webpage1 (note, this is the only VB code in the ASPNET webpage, in other words, the rest is all HTML): Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10118
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5403
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2897
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.