This is an ASP-built Intranet app, so I have saved off a static
version of the page for reference, and it is located at http://www.middletree.net/err.htm and the page to compare it to is http://www.middletree.net/noerr.htm
If you go to the first page, in my case using IE 6/WinXP, you'll see
that it shows a js error. More important than just the error is that
the menu is gone. On the 2nd page, the error doesn't exist.
That second page only differs, code-wise in one small snippet of ASP
code which falls an IF/ELSE ASP condition. Here's the code which
builds the page with the error (which falls under the ELSE half):
Else
'if no history items
if strNoRecords = "1" then
Else
Response.Write "<table cellpadding=0 cellspacing=0 border=1
width=620 bgcolor="&bgcol or2&">"
Response.Write "<tr><td colspan=3 align=center><s pan
class=cellnumbe r>No work history items have been added for this
ticket</span></td></tr></table>"
End if
End if
-----------------------------------
Can anyone see what I am missing? 2 2090
On 24 Nov 2004 13:10:39 -0800, Middletree <mi********@hot mail.com> wrote:
[snip] Can anyone see what I am missing?
The "error" page doesn't contain an element with the id, WorkHistory,
which you try to access when the page loads in order to hide the DIV
elements it contains.
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Middletree said: This is an ASP-built Intranet app, so I have saved off a static version of the page for reference, and it is located at http://www.middletree.net/err.htm and the page to compare it to is http://www.middletree.net/noerr.htm
If you go to the first page, in my case using IE 6/WinXP, you'll see that it shows a js error. More important than just the error is that the menu is gone. On the 2nd page, the error doesn't exist.
That second page only differs, code-wise in one small snippet of ASP code which falls an IF/ELSE ASP condition. Here's the code which builds the page with the error (which falls under the ELSE half):
Else 'if no history items if strNoRecords = "1" then Else Response.Write "<table cellpadding=0 cellspacing=0 border=1 width=620 bgcolor="&bgcol or2&">" Response.Write "<tr><td colspan=3 align=center><s pan class=cellnumb er>No work history items have been added for this ticket</span></td></tr></table>" End if End if
-----------------------------------
Can anyone see what I am missing?
If there is no work history, in addition to writing that message, you
need to avoid writing the onload handler that tries to hide the work history. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Herring |
last post by:
Hi there: Well, let me start off by saying that I am a Visual Studio drag
and drop weenie, not a real programmer. So I tend to get confused when
things do not look like the instructions said they were going to look :) .
Here is my current dilemma:
I am having a strange problem with my ASP.NET application. I am building the
application using Visual Basic .Net in Visual Studio.NET 2003. Lately, I
have frequently been getting the following...
|
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
Hello,
I have a very simple problem but cannot seem to figure it out. I have a
very simple php script that sends a test email to myself. When I debug
it in PHP designer, it works with no problems, I get the test email. If
|
by: Jean-David Beyer |
last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2
V6.1 (with all the FixPacks) on my old machine.
I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat
Enterplise Linux 3 ES, and applied FixPack fp5_mi00069.tar to it. After
creating an instance, starting the database, creating a database, and
entering the table definitions, all of which seems to work OK, I entered a
tiny 8-row table and can do...
|
by: Wayne Brantley |
last post by:
I have found what appears to be an error in streaming with Datasets. It
causes an error of 'Cannot find relation 0' when recreating the dataset from
a stream.
Here is how you reproduce it.
Lets assume you have tables like this:
Customers
CustomerName: Varchar(50)
CustomerNumber: Int (Primary Key)
|
by: SampathTangudu |
last post by:
Hi,
We are trying to use the Hash Tables for passing information from one aspx
page to another aspx page. We are using the below code.
IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore(
IsolatedStorageScope.User
| IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null
);
| |
by: mudge |
last post by:
Hi,
I'm getting some very strange problems with some C# code. We're running
an ASP.NET application on a local server in a DMZ. If I access it using
the internal address, the application works fine, every time. But, if I
access on it's public IP, from my office workstation, from home, over
the VPN, a test machine on ADSL, or whatever else you please, it fails.
But only about 60% of the time.
I have tried everything to pin this down....
|
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= |
last post by:
I have a web method and there are the following sections in web.config:
<system.web>
<webServices>
<soapExtensionTypes>
<add type="SampleClass.SampleExtension, SampleClass" priority="1"
group="1"/>
</soapExtensionTypes>
<protocols>
<remove name="HttpPost"/>
<remove name="HttpGet"/>
|
by: Tifer |
last post by:
Hello,
I am building my first .Net Application. The first couple of Publish
and Installs I did went fine. But after a couple of builds, I get a
modal dialogue box error every time upon trying to install using the
setup.exe. Title is "Cannot Start Application" and it says:
====================
Cannot download the application. The application is missing required
files. Contact application vendor for assistance.
|
by: dancer |
last post by:
Using ASP.net 1.1 and Microsoft Access.
I received the following error message. Why? I have closed the Access
file. I have another very small access file that opens with no trouble with
the same code, except a different name for the file.
The Microsoft Jet database engine cannot open the file
'C:\Inetpub\wwwroot\Accident.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.
|
by: karinmorena |
last post by:
I'm having 4 errors, I'm very new at this and I would appreciate your input. The error I get is:
Week5MortgageGUI.java:151:cannot find symbol
symbol: method allInterest(double,double,double)
Location: class Week5MortgageGUI
Week5MortgageLogic allint = logic.allInterest(amount, term, rate);
Week5MortgageGUI.java:152:cannot find symbol
symbol: method allInterest(double,double,double)
Location: class Week5MortgageGUI
|
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...
| |
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,...
|
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...
|
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...
|
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,...
|
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...
|
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();...
| |
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |