473,881 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adaptive Rendering Issue

Hello,

AFIAK ASP.NET (1.1) uses a technology called 'Adpative Rendering' to output
HTML that is compliant with the client browser or at least stick to HTML 4
specification or IE.

This seems to be quite a problem for me. I have HTML output for Mozilla that
has missing style attribute in list boxes and buttons and my layout seems
crappy. If I save the HTML that comes for IE and open the file with Mozilla
everything seems correct.

So it's seems that If I disable the Adaptive Rendering feature and make it
render as compliant with IE it will work fine for my page. How can I do
this?

Still I don't consider this way to be correct. Can I workaround this
completely if I use CSS class?

Thanks for your time,
Nacho
Nov 19 '05 #1
4 1767
You would need to provide sample code that shows an example of this
happening. I seldom experience any problems with this because I do
several things.
#1 - I specify a FULL DTD at the top of each web browser page forcing
IE to not operate in "quirks mode". This means that its rendering will
be more compliant with other compliant browsers.
#2 - Try avoiding using certain controls. From my experience the
controls that most notably change the most under alternate browsers are
the asp:Panel, asp:Label. In cases like this you should use <label,
<div or <span respectively and jsut add a runat="server" attribute to
them.
#3 - I try specfing as many attributes as possible through CSS classes
or through the .Style property programmaticall y.

If neither of the above tips helps and youa re still experiencing
problems you should post sample output from both browsers and related
code and markup.

Nov 19 '05 #2
in machine.config you will find a <browserCaps> section, you can update this
to improve the rendering. or looking at the agent string force uplevel
support yourself.

if ("netscape|geck o|opera".IndexO *f
(this.Request.B rowser.Browser. *ToLower()) >= 0 )
this.ClientTarg et = "Uplevel";
-- bruce (sqlwork.com)

"Nacho Nachev" <no@spam.now> wrote in message
news:u$******** ******@TK2MSFTN GP14.phx.gbl...
Hello,

AFIAK ASP.NET (1.1) uses a technology called 'Adpative Rendering' to
output HTML that is compliant with the client browser or at least stick to
HTML 4 specification or IE.

This seems to be quite a problem for me. I have HTML output for Mozilla
that has missing style attribute in list boxes and buttons and my layout
seems crappy. If I save the HTML that comes for IE and open the file with
Mozilla everything seems correct.

So it's seems that If I disable the Adaptive Rendering feature and make it
render as compliant with IE it will work fine for my page. How can I do
this?

Still I don't consider this way to be correct. Can I workaround this
completely if I use CSS class?

Thanks for your time,
Nacho

Nov 19 '05 #3
In addition to this, if you google updated browser caps you will find more
complete browser caps.
Nov 19 '05 #4


Thank you all! I included the ClientTaget check in my base page class and
for now it works fine for me.

Nacho
Nov 19 '05 #5

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

Similar topics

28
3448
by: Lachlan Hunt | last post by:
Hi, I've been trying, but failing to work out what is causing Opera to render my drop down menu incorrectly on my site. http://www.lachy.id.au/ For some reason, there seems to be extra margin added below each list item, that gets bigger for each subsequent item. Can someone please take a look and see if they can find my problem? It works almost perfectly in Firefox so you can see how it should look. It degrades
3
4774
by: M D | last post by:
I've got a data source with a .cdb extension that appears to be accessed via a runtime engine of adaptive server anywhere v.6.0.3. Can anyone advise me how to connect to this data source? What's my provider? thx md *** Sent via Developersdex http://www.developersdex.com ***
12
2059
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
2
3267
by: Spotnick | last post by:
I have no idea why, but since I'm trying to recreate my website using ASP.NET 2.0 I've encountered so many performance issues that I'm about to give up and continue using v1.1 Seriously, how can a page that is not that complicated be so long to render locally, it's amazing. This is the trace info: aspx.page Begin PreInit
0
1385
by: Jeff Morgan | last post by:
I have an application that runs on ASP.NET. We have been working through performance testing and it appears that at about 40-50 users, I start to get CPU bound. The application is a three form, ASP.NET 2.0 application. A login page, and a main page, that is a frame with a header page, and the main page. On the main page, there are two datagrids that pull data from a database. The problem is that on one of the grids, the amount of rows...
3
2209
by: UJ | last post by:
I had somebody (who was an idiot) tell me that tables are slow in rendering? That you shouldn't do things like tables inside of tables. Is that true? I think she didn't know what she was talking about but I just wanted to confirm with people. TIA - J.
4
2294
by: R144N | last post by:
Hi Everyone, I've searched variuos forums as much as I could for a similar problem within the time I could and found no helpful solution, I hope someone here can help me out: I have an iFrame issue in all Mozilla browsers where the text appears to be like strikethrough text but it is definitely a rendering issue. I have tried iFrame and Object tags as advised on w3c.org but alas, the same problem. Is this a bug in Mozilla? and if so, is...
1
1731
by: clai83 | last post by:
Hi All, I've made an organisational chart using <table>s, however, I'm having some issues on the rendering of the borders. Issues 1: Opera 9.25 I have lines that I don't want appearing pop up and disappear as I scroll up and down Issue 2. IE7 I sometimes have the bottom border of the very top box disappear and reappear as I scroll. Issue 3. In Box 1 I have 2 lines sticking out to the right of the box instead of just 1 line which I...
3
2442
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a couple of the Firefox is munging up. So, on my information page there is a gridview in the content section of the page. The masterpage contains searching capabilities for the gridview. The masterpage has controls contained in a panel control,...
0
9926
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9776
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10716
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10400
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7953
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7108
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4597
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.