473,387 Members | 3,820 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,387 software developers and data experts.

ASP.NET and non-IE browsers

I have a couple of web sites that need to be developed in the coming months,
and I am in a quandary as to whether to use ASP.Net or fall back on the
standard HTML editor (FrontPage) along with ASP. I hesitate to use ASP.Net
because in my tests, people using Netscape and some "fringe" browsers
received a jumbled rendition of the certain ASP.Net pages. But I love the
power of ASP.Net

My most recent test was to create an abbreviated version of a computer
club's site in ASP.Net. The test is at http://www.tpcug.org/main.aspx.
Everyone using Internet Explorer reported everything fine, The Avant browser
was fine, and one fellow using some version of the Netscape browser called
KONQUEROR in Linux reported everything fine. Everyone using Netscape
Navigator versions 4.? - 7 reported the buttons all in the wrong place on
the page and as having no color. The same for Mozilla Firebird.

People report similar problems at another test site I have at
http://www.lamartin.com/dotnet/Main.aspx, where I tested a number of ASP.Net
features, mainly consuming different web services.

So, is there a way to put buttons on a page, say, in a vertical column on
the left side with a panel to their right and have the buttons stay there
when the aspx page is viewed in Netscape?
Nov 18 '05 #1
5 1054
William LaMartin wrote:
I have a couple of web sites that need to be developed in the coming months,
and I am in a quandary as to whether to use ASP.Net or fall back on the
standard HTML editor (FrontPage) along with ASP. I hesitate to use ASP.Net
because in my tests, people using Netscape and some "fringe" browsers
received a jumbled rendition of the certain ASP.Net pages. But I love the
power of ASP.Net

My most recent test was to create an abbreviated version of a computer
club's site in ASP.Net. The test is at http://www.tpcug.org/main.aspx.
Everyone using Internet Explorer reported everything fine, The Avant browser
was fine, and one fellow using some version of the Netscape browser called
KONQUEROR in Linux reported everything fine. Everyone using Netscape
Navigator versions 4.? - 7 reported the buttons all in the wrong place on
the page and as having no color. The same for Mozilla Firebird.

People report similar problems at another test site I have at
http://www.lamartin.com/dotnet/Main.aspx, where I tested a number of ASP.Net
features, mainly consuming different web services.

So, is there a way to put buttons on a page, say, in a vertical column on
the left side with a panel to their right and have the buttons stay there
when the aspx page is viewed in Netscape?


The thing to remember is yes, there will be some incompatabilities.
Some of it MS decided not to support, some of it was they didn't have
time to figure out every browser known to mankind like we used to have
to do as developers.

So I don't think abandoning .NET is the answer. You know its
power...and part of that power is either to set your target of your page
to down-level browsers, or override any controls giving you pain and
tweak the rendering yourself. Plus it could also be things you could do
by adding addl attributes to the controls that help it render better in
Netscape, etc. Check the HTML and see how 'off' it is, that'll help you
decide which of these to do.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 18 '05 #2


William LaMartin wrote:
My most recent test was to create an abbreviated version of a computer
club's site in ASP.Net. The test is at http://www.tpcug.org/main.aspx.
Everyone using Internet Explorer reported everything fine, The Avant browser
was fine, and one fellow using some version of the Netscape browser called
KONQUEROR in Linux reported everything fine. Everyone using Netscape
Navigator versions 4.? - 7 reported the buttons all in the wrong place on
the page and as having no color. The same for Mozilla Firebird.


Well, looking at the HTML sent to the browser from
http://www.tpcug.org/main.aspx I find some real mess, a HTML document is
supposed to contain a single <html> root element but that output seems
to contain a second HTML document nested in the <body> of the outer
document.
I don't know how your ASP page looks that produces that output but you
can't blame any browser if the rendering doesn't look like you would
like it.
By the way, Konqueror is not a Netscape product at all. It is a Linux
browser that is part of the KDE desktop.


--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #3
I tried it with the schema set to Netscape Navigator 4.0 in the project's
properties, but that didn't help

A bit of research has turned up using a <browserCaps> section in the
web.congif file. I will look into that.
"Craig Deelsnyder" <cdeelsny@SPAM_BE_GONEyahoo.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
William LaMartin wrote:
(snip)

So, is there a way to put buttons on a page, say, in a vertical column on the left side with a panel to their right and have the buttons stay there when the aspx page is viewed in Netscape?


The thing to remember is yes, there will be some incompatabilities.
Some of it MS decided not to support, some of it was they didn't have
time to figure out every browser known to mankind like we used to have
to do as developers.

So I don't think abandoning .NET is the answer. You know its
power...and part of that power is either to set your target of your page
to down-level browsers, or override any controls giving you pain and
tweak the rendering yourself. Plus it could also be things you could do
by adding addl attributes to the controls that help it render better in
Netscape, etc. Check the HTML and see how 'off' it is, that'll help you
decide which of these to do.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 18 '05 #4
Well, I agree the HTML produced for the page is very odd. But it is what is
produced by the server based on the aspx page that Visual Studio.Net
created. Internet Explorer seems to like it. My question is how can I make
Visual Studio.Net produce aspx pages that will render properly in browsers
other than IE. Setting the project's target schema to Netscape Navigator
does not seem to have any effect.
"Martin Honnen" <Ma***********@t-online.de> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...


William LaMartin wrote:
My most recent test was to create an abbreviated version of a computer
club's site in ASP.Net. The test is at http://www.tpcug.org/main.aspx.
Everyone using Internet Explorer reported everything fine, The Avant browser was fine, and one fellow using some version of the Netscape browser called KONQUEROR in Linux reported everything fine. Everyone using Netscape
Navigator versions 4.? - 7 reported the buttons all in the wrong place on the page and as having no color. The same for Mozilla Firebird.


Well, looking at the HTML sent to the browser from
http://www.tpcug.org/main.aspx I find some real mess, a HTML document is
supposed to contain a single <html> root element but that output seems
to contain a second HTML document nested in the <body> of the outer
document.
I don't know how your ASP page looks that produces that output but you
can't blame any browser if the rendering doesn't look like you would
like it.
By the way, Konqueror is not a Netscape product at all. It is a Linux
browser that is part of the KDE desktop.


--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #5
After a night's sleep, I again looked at the HTML that was being generated
with the glaring two <html> tags. Indeed that was what visual studio was
producing--but it was producing it because of my error. I have a panel on
the right side of the page that I populate with different items depending on
what button on the left is pressed. When the page loads for the first time,
the sub below is run. The page used in the subroutine was originally a
complete html page. What I needed to do was extract out all of the html
text between the <body> and </body> tags of that page and put that in a text
file and use that as the page. That got rid of the extra html and body tags
in the source code for the page.

Now to get someone with Netscape to check the page again. It is at
http://www.tpcug.org/Main.aspx

Private Sub New_page2(ByVal page As String)
Literal1 = New Literal
Me.Panel1.Controls.Add(Literal1)
Dim TR As System.IO.TextReader
TR = System.IO.File.OpenText(Server.MapPath(".") & "\" & page)
Me.Literal1.Text = TR.ReadToEnd
End Sub
"Martin Honnen" <Ma***********@t-online.de> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...


William LaMartin wrote:
My most recent test was to create an abbreviated version of a computer
club's site in ASP.Net. The test is at http://www.tpcug.org/main.aspx.
Everyone using Internet Explorer reported everything fine, The Avant browser was fine, and one fellow using some version of the Netscape browser called KONQUEROR in Linux reported everything fine. Everyone using Netscape
Navigator versions 4.? - 7 reported the buttons all in the wrong place on the page and as having no color. The same for Mozilla Firebird.


Well, looking at the HTML sent to the browser from
http://www.tpcug.org/main.aspx I find some real mess, a HTML document is
supposed to contain a single <html> root element but that output seems
to contain a second HTML document nested in the <body> of the outer
document.
I don't know how your ASP page looks that produces that output but you
can't blame any browser if the rendering doesn't look like you would
like it.
By the way, Konqueror is not a Netscape product at all. It is a Linux
browser that is part of the KDE desktop.


--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #6

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

Similar topics

5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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,...

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.