Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Server Controls don't render style to Mozilla and Netscape

Reply
Thread Tools

Server Controls don't render style to Mozilla and Netscape

 
 
=?Utf-8?B?QWJ1IEhhaWRlcg==?=
Guest
Posts: n/a
 
      02-22-2004
It took a while to find out the actual problem. I found built in server controls won't render properly in the latest version of Netscape and Mozilla etc. I thought they don't render css correctly. But recently, I found out ASP.NET is not sending the style attribute to these browsers. This is not fair, because these browsers understand the style attribute very well, and if I add these attributes through the style property of the control (through code), they are rendered correctly

This is incorrect behavior of ASP.NET and probably caused by the fact that Browser Caps doesn't recognize these browsers correctly

These browsers are getting popular. Please let us know if there is any update/patch that will fix the problem

Thanks.
 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      02-23-2004
Hi,

Not patch but the detection feature is completely configurable. See my
answer at ASP.NEt Forums regarding the issue:
http://www.asp.net/Forums/ShowPost.a...1&PostID=89874

This is better addressed in the next ASP.NET version.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Abu Haider" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It took a while to find out the actual problem. I found built in server

controls won't render properly in the latest version of Netscape and Mozilla
etc. I thought they don't render css correctly. But recently, I found out
ASP.NET is not sending the style attribute to these browsers. This is not
fair, because these browsers understand the style attribute very well, and
if I add these attributes through the style property of the control (through
code), they are rendered correctly.
>
> This is incorrect behavior of ASP.NET and probably caused by the fact that

Browser Caps doesn't recognize these browsers correctly.
>
> These browsers are getting popular. Please let us know if there is any

update/patch that will fix the problem.
>
> Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing rails render method outside of view / Decorating render Glenn Gillen Ruby 0 11-17-2006 02:30 PM
CSS Mozilla: Make Mozilla not ignore height style of an inline element Henri HTML 9 02-22-2005 06:08 PM
Still can't get Netscape 6 to render this correctly. Zambien Javascript 1 10-07-2004 01:09 PM
Page.Render do not render complete page Lau Lei Cheong ASP .Net 1 05-15-2004 04:10 AM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM



Advertisments