473,624 Members | 2,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

popup window "This resource cannot be found"

Thanks in advance to anyone who can help :):

I have an .aspx page that creates javascript on the fly within a button
click event handler. The script creates a function AND CALLS THAT SAME
FUNCTION that opens a new window which will contain another .aspx page. The
new popup window opens just fine, however, the parent page from which the
'click' event originated from produces the error "The resource cannot be
found" for some reason. Anyone
Oct 26 '06 #1
1 1769
Hey never mind all! I found that adding an attribute to the button itself and
calling the function from its click event (along with having the script
already in place, not creating it in the click event) fixed the issue.

"studen771" wrote:
Thanks in advance to anyone who can help :):

I have an .aspx page that creates javascript on the fly within a button
click event handler. The script creates a function AND CALLS THAT SAME
FUNCTION that opens a new window which will contain another .aspx page. The
new popup window opens just fine, however, the parent page from which the
'click' event originated from produces the error "The resource cannot be
found" for some reason. Anyone
Oct 26 '06 #2

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

Similar topics

5
9393
by: J. Muenchbourg | last post by:
The field name 'articleid', which is an identity/primary key , is not being recognized in my recordset as I get an " Item cannot be found in the collection corresponding to the requested name or ordinal" error with the following- the line number that the error message points to is on my response.write for the rsid("articleID") : dim sqlid,rsid sqlid = "SELECT max(ArticleID) from tblarticles"
4
11150
by: Armel Asselin | last post by:
Hello, I'm working on a Javascript interpreter; when I execute this code I cannot figure out why the inner "c" function returns the input widget as "this"... could someone tell ?? <input type=button onclick=" function myobject(a) { function c() { return this; } var prop1=a; this.youpla = c(); } var i = new myobject();
1
1549
by: Chris | last post by:
Morning, This is my problem, I try to pass in url parameter yop.php the PID value, computed in "select", but when I execute this script, I obtain "this.PID" in all letters in URL instead of the number. I research but I don't find, Could you please help me? Thanks, This is an exemple of my source code:
1
3488
by: David | last post by:
I am working on a small web app. I attempted to copy it to the remote server via. the project/copy command and when I closed the project and attempted to reopen it, I get the error "project file cannot be found". The system also tells me that some of the components are not installed on the web server. However, I have the IIS installed and I can create a new web app and it works fine. How can I find what is missing? I hate to loose a...
5
1836
by: Richard Lionheart | last post by:
How do I make the changes to environment variables made by vsvars32.bat persistent? I have tried to build Microsoft.Web.UI.WebControls.dll in a effort to study some tutorials about web controls. Andrés Cadavid Gómez in news:F6C9754F-1EF5-4BA1-8B26-6FA03619DB12@microsoft.com pointed me to the site where I could get it I followed the ReadMe.txt instructions. When it came to execute the installation's build.bat, it failed because...
9
6151
by: Martin Eyles | last post by:
Hi, I have set up an asp.net website on another PC in order to test it. The site was fine on my PC, but on the new PC all the pages give the error "The Page Cannot Be Found". Some legacy pages (ASP, as opposed to ASP.Net) work fine. The old PC was running Windows 2000 Server, and the new PC I am testing on is running Windows Server 2003. Thanks in advance,
0
1250
by: sebnunes | last post by:
Hi all, I have a strange behavior here. I'm debugging a web page. When I set a breakpoint in the file the debugger hits the breakpoint but if I try run further the page crashes and The error message "Resources Cannot be found" appears. Just as it couldn't find the file in the given directory. When I remove the breakpoint the page displays correctly.
5
4942
by: chris_doran | last post by:
/COMMENT has been removed from the linker that comes with VS2005, and use in source code of: #pragma comment(exestr, "this is a string") gives the message: warning LNK4224: /COMMENT is no longer supported; ignored and doesn't put the string in the exe file.
2
6133
by: jhaxo | last post by:
I have a web page that I installed to IIS 6.0 from a web deployment project successfully. I am trying to deploy the same application to laptops that are running IIS 5.0. I am getting an error "the page cannot be found". My virtual directory is setup correctly (at least in the same manner as per iis 6). I dont see a tab for web service extentions. I cannot browse from IIS either, I get the same error, even if I browse to an htm file. ...
0
8240
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
8175
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
8680
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
8336
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
8482
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
4082
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
4177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2610
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
1
1791
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.