By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,903 Members | 1,977 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,903 IT Pros & Developers. It's quick & easy.

Why doesn't IE show full html source?

P: n/a


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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.