473,399 Members | 3,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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 RegisterStartupScript 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 1702
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*******@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
For some reason I'll view an aspx page and...

1. Scripts that I add (using the RegisterStartupScript 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*******@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
For some reason I'll view an aspx page and...

1. Scripts that I add (using the RegisterStartupScript 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*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.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
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...
3
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...
12
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...
4
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) {...
18
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
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 -------------------------------------------------------------------------------- ...
6
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...
6
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...
8
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.