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

Browser Independence

How do you write an aspnet browser-independent apps? I develop and browse
with IE but it looks differently with Opera or Firefox. Any suggestion?

Thanks,
Apr 28 '07 #1
4 1885


"Benedictum" <Be********@dominusvobis.comwrote in message
news:eS**************@TK2MSFTNGP06.phx.gbl...
How do you write an aspnet browser-independent apps? I develop and browse
with IE but it looks differently with Opera or Firefox. Any suggestion?

You don't use ASP.NET form or Web controls, you use Ajax Pro for .NET (free)
and you use HTML and JavaScript. That will make the application more browser
independent, because of the use of HTML and JavaScript. There is no Postback
event, and the Code Behind file is used to retrieve and save data to a
database, keep object state/persist, etc, etc, using proxies.

http://www.codeplex.com/AjaxPro
http://www.google.com/search?q=what+...&start=10&sa=N

Apr 28 '07 #2
Thanks Mr. Arnold.
I'll look into this.

"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:AC**********************************@microsof t.com...
>

"Benedictum" <Be********@dominusvobis.comwrote in message
news:eS**************@TK2MSFTNGP06.phx.gbl...
>How do you write an aspnet browser-independent apps? I develop and browse
with IE but it looks differently with Opera or Firefox. Any suggestion?


You don't use ASP.NET form or Web controls, you use Ajax Pro for .NET
(free) and you use HTML and JavaScript. That will make the application
more browser independent, because of the use of HTML and JavaScript. There
is no Postback event, and the Code Behind file is used to retrieve and
save data to a database, keep object state/persist, etc, etc, using
proxies.

http://www.codeplex.com/AjaxPro
http://www.google.com/search?q=what+...&start=10&sa=N

Apr 28 '07 #3
Hello Benedictum,

The first way is to make your html XHTML 1.1 compliant - use XHTML validators.
Then check how your JS code works in different browsers and fix it. The same
JS code may work unstable in browsers, due to object model differences in
FF/IE/Opera

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

BHow do you write an aspnet browser-independent apps? I develop and
Bbrowse with IE but it looks differently with Opera or Firefox. Any
Bsuggestion?
B>
BThanks,
B>
Apr 28 '07 #4
I managed to make the pages work in three browsers just by plugging in the
browsercap directives in the web.config file. I still see differences (e.g.
rendering of gradients). This is usable and not as irritating as before.
"Michael Nemtsev" <ne*****@msn.comwrote in message
news:a2***************************@msnews.microsof t.com...
Hello Benedictum,

The first way is to make your html XHTML 1.1 compliant - use XHTML
validators.
Then check how your JS code works in different browsers and fix it. The
same JS code may work unstable in browsers, due to object model
differences in FF/IE/Opera

---
WBR, Michael Nemtsev [.NET/C# MVP]. My blog:
http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

BHow do you write an aspnet browser-independent apps? I develop and
Bbrowse with IE but it looks differently with Opera or Firefox. Any
Bsuggestion?
BBThanks,
B>

May 1 '07 #5

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

Similar topics

4
by: kj | last post by:
I'm just learning about SOAP, and one of the claims about SOAP that I'm having the hardest time understanding/believing is this business about language independence. Please tell me if I got this...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
1
by: Dave Harrington | last post by:
Greetings all - We have a client who uses Lotus Notes as their default e-mail. The version of Lotus they use can run internet explorer windows within Lotus. I'd like to find if they are...
2
by: hangar18 | last post by:
Hi, "Browser Independance" is a term i've been hearing a lot. But is there some kind of matrix showing which are the minimum versions of browsers supported by ASP.NET 2.0 and what are the features...
2
by: ad | last post by:
I use VS2005 to develop Web Application. The WebApp refer another ClassLibrary project in the solution. But when I compile, it result in an error:Can't find the independence of project. and I...
16
by: Andy | last post by:
Hi, I have read that 'C' is platform-independent and portable. I can'tsee much a difference between the two terms. Could anyone differentiate the two? Also is the statement actually true? Thanks...
0
by: NRI Events | last post by:
Hello Friend, Kindly spare 2 minutes to celebrate INDIA's Independence Day with us. Host INDIA'S tri-color flag at your desk-top to show your love & support to INDIA. Its specially designed...
8
by: Joel | last post by:
If I'm not wrong, .NET generates MSIL which can be executed by the CLR on any machine because the code is managed, but what if a programmer decides to use a bit of unmanaged code, say a feature of...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...
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,...

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.