473,406 Members | 2,633 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,406 software developers and data experts.

Why doesn't IE show full html source?



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 standard way of
conforming to web standards.

Now I have an IE add-on to show full source.

What are the best ways to make VS produce more browser compatible html?

--
John Dalberg
Nov 18 '05 #1
6 1780
Which validator are you having a problem viewing the error message for?
I ask because I just tried adding a required field validator to a page
that had only a text box and a submit button on it and it showed up in
the IE source code in a span element whose id is the name of the
validator and an attribute called errormessage contains the error
message I set. Let us know the specific validator that you are having
an issue with and we can try out some possibilities from there.

Have A Better One!

John M Deal, MCP
Necessity Software

John Dalberg wrote:

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 standard way of
conforming to web standards.

Now I have an IE add-on to show full source.

What are the best ways to make VS produce more browser compatible html?

Nov 18 '05 #2
On Wed, 01 Dec 2004 10:54:46 -0800, John M Deal wrote:
Which validator are you having a problem viewing the error message for?
I ask because I just tried adding a required field validator to a page
that had only a text box and a submit button on it and it showed up in
the IE source code in a span element whose id is the name of the
validator and an attribute called errormessage contains the error
message I set. Let us know the specific validator that you are having
an issue with and we can try out some possibilities from there.

It's the requiredfieldValidator. It might be a setting we both have it
different in VS?

The other problem I have is I have a few textboxes with a few requiredfield
validators plus a submit button in a webpage. In IE, everything works fine.
In Opera and Firefox, the click event for the button gets fired even though
the validators displayed messages that the text fields are blank. The event
shouldn't get fired unless all required fields have something in them.

John Dalberg


Have A Better One!

John M Deal, MCP
Necessity Software

John Dalberg wrote:

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 standard way of
conforming to web standards.

Now I have an IE add-on to show full source.

What are the best ways to make VS produce more browser compatible html?

--
Nov 18 '05 #3
My guess is if the validator has EnableClientScript=false, the messages
won't be in the source...they'll only get passed back by the server after a
post back. That could be your culprit right there.

--
Ben Strackany
www.developmentnow.com

<a href="http://www.developmentnow.com">dn</a>
"John Dalberg" <jo*****@hotmail.com> wrote in message
news:19****************************@40tude.net...


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 standard way of
conforming to web standards.

Now I have an IE add-on to show full source.

What are the best ways to make VS produce more browser compatible html?

--
John Dalberg

Nov 18 '05 #4
On Wed, 1 Dec 2004 15:14:06 -0600, Ben Strackany wrote:
My guess is if the validator has EnableClientScript=false, the messages
won't be in the source...they'll only get passed back by the server after a
post back. That could be your culprit right there.

enableclientscript is true, otherwise I won't be seeing the error messages
associated with the validators. Plus when I use Opera and Firefox the
source shows them.

As for the Firefox and Opera issue I added a Page.Validate() and it works.
--
John Dalberg
Nov 18 '05 #5
I did some digging and found that in FireFox the onSubmit for the form
is dramatically different than it is in IE. My guess is that it has to
do with BrowserCaps (the way ASP.Net determines if your browser can
handle javascript and what-not and modifies what it sends based on that
determination). Anyway here's a blog entry that someone wrote up on
this that might be able to be used to help figure this out:

http://weblogs.asp.net/mrupp/archive...4/03/4789.aspx

No promises but hopefully this will help. Oh, thanks to Clinton
Gallagher over on microsoft.public.dotnet.general for the link (I
"borrowed" it from him after he posted it just a few minutes ago).

Have A Better One!

John M Deal, MCP
Necessity Software

John Dalberg wrote:
On Wed, 01 Dec 2004 10:54:46 -0800, John M Deal wrote:

Which validator are you having a problem viewing the error message for?
I ask because I just tried adding a required field validator to a page
that had only a text box and a submit button on it and it showed up in
the IE source code in a span element whose id is the name of the
validator and an attribute called errormessage contains the error
message I set. Let us know the specific validator that you are having
an issue with and we can try out some possibilities from there.


It's the requiredfieldValidator. It might be a setting we both have it
different in VS?

The other problem I have is I have a few textboxes with a few requiredfield
validators plus a submit button in a webpage. In IE, everything works fine.
In Opera and Firefox, the click event for the button gets fired even though
the validators displayed messages that the text fields are blank. The event
shouldn't get fired unless all required fields have something in them.

John Dalberg
Have A Better One!

John M Deal, MCP
Necessity Software

John Dalberg wrote:
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 standard way of
conforming to web standards.

Now I have an IE add-on to show full source.

What are the best ways to make VS produce more browser compatible html?


Nov 18 '05 #6
if you use smart navigation, javascript changes the dom on the fly, so the
source is not changed on postbacks (which happen in a hidden iframe - which
in turn is generated by javascript - for which you can see the source). you
need to use a dom inspector to see the changes made by smart nav.

the html for validator is also generated by javascript (when you click a
submit button), so you can not see them is the source. to see the source
look in webuivalidation.js the strings themselves are store as attributes
off of dom nodes and you can see them in the source.

-- bruce (sqlwork.com)

"John Dalberg" <jo*****@hotmail.com> wrote in message
news:19****************************@40tude.net...
|
|
| 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 standard way of
| conforming to web standards.
|
| Now I have an IE add-on to show full source.
|
| What are the best ways to make VS produce more browser compatible html?
|
|
|
| --
| John Dalberg
Nov 18 '05 #7

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

Similar topics

6
by: middletree | last post by:
http://www.middletree.net/debug/DisplaySortableTickets.html Doing an Intranet-based app in ASP. I put the view source version (that is, no ASP code) out on my personal site at the above URL to...
44
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
89
by: Homer J Simpson | last post by:
I am coming to the conclusion that Microsoft doesn't want you to use VB ..Net, based on my experiences. I've downloaded the Express version and signed up for various support options etc. At every...
13
by: Olaf \El Blanco\ | last post by:
#include <stdio.h> // If char *frase="Andrew" I want *frase="werdnA" with THIS for... int main() { int start, finish; char aux; char *phrase="Andrew... is listening to Dimmu Borgir...";...
1
by: Aaron West | last post by:
Try this script to see what queries are taking over a second. To get some real output, you need a long-running query. Here's one (estimated to take over an hour): PRINT GETDATE() select...
1
by: HeroinNO.4 | last post by:
You can open http://www.fillweb.com in IE and View->Source to see the latest version full featured count down timer source code, or you may also copy the code below and save in a "*.htm" file, for...
1
by: proplady | last post by:
I've had this menu for some time, and periodically make changes. I've made some changes now (just some menu items), and the menu will not show up on my webpages. I know it's something simple,...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.