CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Firefox is actually a better browser than ASP.NET realizes

Yesterday I blogged a little of the bad behaviour of my ASP.NET applications in the Firefox browser. As IE is under siege I just have to be prepared for a way out. My apps are indeed intranet apps, according to Shannon, the only thing place the cool ASP.NET apps are good for control properties are usable (imho there is no difference between a cool and a standard proerty) The moment my customers drops IE I'm in trouble.

Besides Firefox I also tried Opera. Opera has a nice feature, you can set the identity it will report to the server. It can pretend to be IE 4, 5, or 6 or a simple browser. My apps looked far better but Opera cannot work with Windows authentication. That is a showstopper. The night at the opera was a short one. Anyway, I don't like opera music and I didn't like all adds flying around. :)

As many people reported the main problem with FireFox is that asp.net is unaware of its capabilities. Shannon pointed to a good post by Rolando which lists good articles about browsercaps. Mitch Rupps's post lists well working caps for firefox. The point is where these caps should be included. You could do it in the machine.config and also in the web.config. I think you should do it in the web.config. As there are some incompatibilities it makes sense to do it in the web.config. It states “This app will look good in firefox”.

The incompatibilties of an asp.net app in firefox I found so far:

  1. Spacing controls in a template using absolute width does not work. I'm a big datalist fan, to emulate a grid I use the controls width to build columns. Does work in IE. Doesn't work in ff or opera. A datagrid looks OK.
  2. The gotdotnet treeview does not claim enough space. It is partly obscured by other controls on the page.

These things must be fixable.

As Joseph pointed out my blogs title suggests some involvement with Gecko, the engine of firefox. My Gekko originated in 1986 when I started Gekko Software in the pre web days and points to my previous career as a biologist. This cute little animal seems to have inspired other people as well. There is also a Gekko Software in Germany, they are in the gaming bussiness. And also with them I share no more than a name.

Peter 



Comments

Peter van 0oijen said:

I'm not blaming anyone, just wrestling my way through.
# September 16, 2004 3:56 AM

Shannon J Hager said:

WHOA! I demand you correct this post. Why would you accuse me of such a statement? I do not work on intranet apps anymore and I use not but ASP.NET if I can help it.

If you are referring to my comments in your previous post, I said "using the cool property features of .NET server controls to change the appearance of a control is unusable outside of an intranet"

That is nowhere near what you accuse me of.
# September 16, 2004 8:15 AM

Peter van 0oijen said:

Sorry about that, the post is updated. But... imho your statement does mean no less than what I wrote.
I'm not accusing anything or anyone. Just trying to get an overview.
# September 16, 2004 9:34 AM

Ross said:


I wonder if the capabilities will get updated before the next release.
# September 16, 2004 10:49 AM

Shannon J Hager said:

So you don't know how to make an asp.net application without using the width property of an asp:button, for instance?

If you use width=100 to make the button 100 pixels wide, the .NET framework won't send that attribute out to any non-IE browsers (even though they can handle it with no problems).

Does that make ASP.NET useless? Not to me. Not at all. It does make those "ooo, ahhh, cool... I can right click a button in the designer and change it's properties" features useless.

But you're saying those cool features ARE ASP.NET to you?
# September 16, 2004 10:58 AM

Free said:

Have you tried putting ClientTarget="ie5" in the Page directive?
# September 16, 2004 11:16 AM

Peter's Gekko said:

VS 2005 : Firefox just as good (or bad) as IE
# September 16, 2004 8:02 PM

Peter's Gekko said:

Firefox, VS 2003, VS 2005 and migrating applications
# September 27, 2004 1:25 AM

Kieran said:

Hi,

Has anyone had problems getting the datalist to output correctly in firefox, I seem to have content overlapping when the content gets bigger than a few lines in depth?

Thanks!

Kieran

# March 19, 2007 10:44 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!

This Blog

Syndication

News