473,809 Members | 2,469 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE's view source not showing what is actually being displayed

For some reason I'll view an aspx page and...

1. Scripts that I add (using the RegisterStartup Script method of the
Page object) dont show up in the source(IE->View Source)even thought I
know that the scripts are registering fine in every other page.
2. I can see (for example) a div tag with many controls and text
contained in it, yet the source (viewed in IE) doesn't even have a
trace of these elements. It appears as if ALL of the elements are not
in the source code yet IE renders the controls.

I would apprecate anyone's help on this issue as it makes absolutely no
sense!

Feb 10 '06 #1
6 1724
KMA
Most bizarre.

Can you save the source as a file on the HD then open it with IE, or even
Firefox or another browser. See if the elements are still there. I assume
it's not something like the elements are tabbed to the right of the source
and you have to horizontal scroll to see them in the source.

<jw*******@gmai l.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
For some reason I'll view an aspx page and...

1. Scripts that I add (using the RegisterStartup Script method of the
Page object) dont show up in the source(IE->View Source)even thought I
know that the scripts are registering fine in every other page.
2. I can see (for example) a div tag with many controls and text
contained in it, yet the source (viewed in IE) doesn't even have a
trace of these elements. It appears as if ALL of the elements are not
in the source code yet IE renders the controls.

I would apprecate anyone's help on this issue as it makes absolutely no
sense!

Feb 10 '06 #2
Did you do a search for "<script" ?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
<jw*******@gmai l.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
For some reason I'll view an aspx page and...

1. Scripts that I add (using the RegisterStartup Script method of the
Page object) dont show up in the source(IE->View Source)even thought I
know that the scripts are registering fine in every other page.
2. I can see (for example) a div tag with many controls and text
contained in it, yet the source (viewed in IE) doesn't even have a
trace of these elements. It appears as if ALL of the elements are not
in the source code yet IE renders the controls.

I would apprecate anyone's help on this issue as it makes absolutely no
sense!

Feb 10 '06 #3
Your assumptions are correct regarding horizontal scrolling.

Despite it not helping me understand why this is happening it was an
interesting test so thankyou..I Ran the page and opened a sort of
dialog (floating Div tag) and saved the page. The elements that were on
the page(the div tag and its containing elements) didn't show on the
saved page!

Any Idea's as to why this may be happening???

Feb 12 '06 #4
Yes i have looked for script tags, a variety of strings that are
visible on the page as well as ID's for elemtent that are visible. It
turns out that I've been searching in vain!

Feb 12 '06 #5
KMA
Just a stab in the dark...

... but does your page use frames? You might be viewing a whole rendered page
but viewing the source of only one (empty?) frame.
<jw*******@gmai l.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
Your assumptions are correct regarding horizontal scrolling.

Despite it not helping me understand why this is happening it was an
interesting test so thankyou..I Ran the page and opened a sort of
dialog (floating Div tag) and saved the page. The elements that were on
the page(the div tag and its containing elements) didn't show on the
saved page!

Any Idea's as to why this may be happening???

Feb 13 '06 #6
No frames.

I'm fairly fluent in HTML... Basically what I see is whole sections (ie
div tags and their contents ie datagrids drop down lists etc)
disappearing.
Not a trace of the contents (ie label text, data that has been rendered
by DataGrid controls, id's of controls) and also scripts that dont
appear. I know that the scripts seem to not render when there are
scripting errors on the page. If i run a page that has scripting errors
on it the scripts that i've inserted will not be anywere to be seen
(the script or their effects)

Feb 14 '06 #7

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

Similar topics

11
13730
by: yaktipper | last post by:
This explains how to disable the view source / right-click menu in Netscape 4, Netscape 6 and Internet Explorer (IE). <script language="JavaScript"> //This code is the beginning of the right click disable function right(e) { //This function is for Net 4. if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
3
3035
by: Albert Spencil | last post by:
It once was necessary to type "view-source" before the URL in Location to view the javascript original coding for Netscape. The default was the output code of the script. Now the default is the original script code. Is there a way to see the original coding in Netscape 7x and/or IE 6x without falling back to an old version of NS ? That is,when I "view source" I want to see: <body>
12
10182
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical scrollbar, you get the height of the entire document, screwing up any chance of centering a window in the browser using these values. Is there a way to get the height of the actual browser window and not the entire page height? Thanks.
4
5486
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) { document.getElementById(nameOfDiv).style.visibility='visible'; document.getElementById(nameOfDiv).style.height='auto'; if (nameOfDiv != 'weblogs')
18
2562
by: Lorem Ipsum | last post by:
interesting! I just found a page in which Explorer's View Source does nothing! How did they do that?
8
5484
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
6
1798
by: John Dalberg | last post by:
Why does IE not show the full html source when I try to view the source?? I mean why does it hide a few features. Previously I had an issue where the data grid html representation was hidden in the source view. After spending a LOT of time troubleshooting this, it was due to the smart navigation setting. Now I can't see the html for the validators error messages. It's getting pretty irritating to work around IE's quirks and its non...
6
6234
by: Nathan Sokalski | last post by:
When I am viewing a *.aspx file in Source view Visual Studio 2005 is not displaying the page's controls/elements properties in the properties window. If I switch to Design view, the properties are displayed with no problem. Why is Visual Studio 2005 not displaying the controls' properties in Source view, and what can I do to make it display them in Source view? Thanks. -- Nathan Sokalski njsokalski@hotmail.com...
8
1682
by: devain | last post by:
Question about positioning in view source. What I am trying to accomplish is this: 1. I have content that is revelant to the my site that is currently being displayed to the user at the bottom of the page using css and html. 2. When I view source this content and div tags are at the bottom of the page. What I am wanting to do is have the content in the view source to actually load first on the page elow the body tag. Is there a way...
0
9722
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
10643
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
10391
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
9200
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
6881
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
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4333
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
2
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
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.