473,406 Members | 2,954 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.

Multiple Browser support issues

I have recently converted an ASP website to ASP.NET and I am receiving a lot
of complaints about the site no longer working for people running Netscape,
FireFox, or even IE on a Mac. The issues run the gamut from Issues with
DIV, StyleSheets, Colors not being displayed properly, Etc.. Is there
anything I can do short of going back to ASP or writing 5 versions of the
same website to get my ASP.NET code to work with more browsers than just the
latest version of IE for windows? I thought the reason for going to ASP.NET
was to try and eliminate these types of problems not make them worse. An
help or comments are greatly appreciated.
Nov 19 '05 #1
2 1717
It's just like Java: Write Once, Test Everywhere.
You must choose which browsers you'll support and test it with each browser
to ensure it looks and works acceptably.
There's no single way to get it all working, but here are a couple tips for
you that may help:

* FlowLayout tends to be more compatible than GridLayout (for the pageLayout
property of your pages).
* To keep control widths consistent across browsers, setting the style
manually can help:
MyControl.Attributes.Add("style, "width:220px;");
* You might also try fiddling with the targetSchema and clientTarget
properties of the page to get more consistent results between client
environments.

Here's more info:
http://www.learn247.net/community/Sh...aspx?PostID=52
http://www.tamingthebeast.net/articl...patibility.htm
http://weblogs.asp.net/scottgu/archi...09/254583.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Steve Mauldin" <st**********@hotmail.com> wrote in message
news:eE**************@TK2MSFTNGP10.phx.gbl...
I have recently converted an ASP website to ASP.NET and I am receiving a
lot
of complaints about the site no longer working for people running
Netscape,
FireFox, or even IE on a Mac. The issues run the gamut from Issues with
DIV, StyleSheets, Colors not being displayed properly, Etc.. Is there
anything I can do short of going back to ASP or writing 5 versions of the
same website to get my ASP.NET code to work with more browsers than just
the
latest version of IE for windows? I thought the reason for going to
ASP.NET
was to try and eliminate these types of problems not make them worse. An
help or comments are greatly appreciated.

Nov 19 '05 #2
Hi Steve,

To complement Steve's judicious tips, you might also do a search in
Google for "BrowserCaps" (of which a stripped-down version is given in
the third link Steve just gave you). Basically, .Net considers that
everything not Explorer is Mosaic 1.0, and you must add a BrowserCaps
file in your web.config that tells it what the real capabilities
limits of each browser are. I have done this and I'm now like 99.9%
compatible.

HTH,

Michel
"Steve Mauldin" <st**********@hotmail.com> wrote in message news:<eE**************@TK2MSFTNGP10.phx.gbl>...
I have recently converted an ASP website to ASP.NET and I am receiving a lot
of complaints about the site no longer working for people running Netscape,
FireFox, or even IE on a Mac. The issues run the gamut from Issues with
DIV, StyleSheets, Colors not being displayed properly, Etc.. Is there
anything I can do short of going back to ASP or writing 5 versions of the
same website to get my ASP.NET code to work with more browsers than just the
latest version of IE for windows? I thought the reason for going to ASP.NET
was to try and eliminate these types of problems not make them worse. An
help or comments are greatly appreciated.

Nov 19 '05 #3

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

Similar topics

4
by: Paul W | last post by:
Hi - can someone point me to info on the issues/resolutions of supporting the safari browser? To help me understand, if I was developing pages in say FrontPage, what attributes would I set for...
20
by: Tim Reynolds | last post by:
Team, I am developing a web service. In testing in on my enw PC, I am expecting to see exceptions thrown appear on my browser. Instead I am getting an HTTP 500 Internal Server Error page and I am...
3
by: Charles Zhang | last post by:
How can I get Request.Browser.Crawler to work correctly? Do I need to update <browserCapssection of the web configuration file? If yes, where can I find something that cover all browsers and...
3
by: Jason | last post by:
Hi, I built a vb.Net application that creates ICS calendar files dynamically and then sends them to the client browser as a downloadable file. Works perfectly except in the following situation....
5
by: c676228 | last post by:
Hi everyone, my colleagues are thinking about have three insurance plans on one asp page: I simplify the plan as follow: text box:number of people plan1 plan2 plan3
4
by: igotyourdotnet | last post by:
I have a web app that I want to make the pages render correctly based on what type of browser is connected. How can I determine if the browser is the desktop IE version or a handheld device version?
4
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all I have the following code: I am trying to use the value of the image button to evaluate what plan the user has chosen, i.e. it request("submit1")="Basic", then the user chose basic plan...
18
by: =?Utf-8?B?TGkgV2VuZw==?= | last post by:
Hi, Is there a way for TreeView to have multiple selections? But I am not talking about its checked boxes. I want a way similar to ListView with MultiSelect = True. So I can use or key and...
2
by: Michael | last post by:
It seems that a gridview allows us to delete only a single row at a time. How to extend this functionality to select multiple rows and delete all of the selected rows in a single stroke? just like...
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: 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
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:
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
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.