473,498 Members | 1,656 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 1744
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 programmatically.

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|gecko|opera".IndexO*f
(this.Request.Browser.Browser.*ToLower()) >= 0 )
this.ClientTarget = "Uplevel";
-- bruce (sqlwork.com)

"Nacho Nachev" <no@spam.now> wrote in message
news:u$**************@TK2MSFTNGP14.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
3385
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...
3
4757
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...
12
2011
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
3250
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...
0
1374
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,...
3
2185
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...
4
2247
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...
1
1715
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...
3
2407
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...
0
7002
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
7165
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
7379
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
5462
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,...
1
4910
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...
0
4590
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...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1419
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 ...

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.