473,775 Members | 2,611 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 2121
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
3405
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
1986
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
3157
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
2227
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
9622
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
10107
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10048
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
9916
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
8939
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6718
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
5360
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...
0
5486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4017
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 we have to send another system

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.