473,320 Members | 2,027 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,320 software developers and data experts.

Browser levels, PDAs and browser sniffing

Hi.

I have a need for users to access my ASP.NET pages from PDAs. I notice that
you can deploy to different browser levels, eg IE5, HTML3.2, etc. So
deploying the forms to HTML3.2 will work for PDAs.

Is there much else to it (other than testing to make sure it looks and works
ok)?

Also, how can I set it up to 'browser sniff' and serve up HTML 3.2 pages for
PDAs and (say) HTML 4 pages otherwise?

Thanks!

Lauchlan M

Nov 17 '05 #1
2 1203
Great but how would one do it on a hosted site. How many web hosting
companies give you access to the machine.config?
Do any? I find many of the "solutions" to problems listed in this newsgroup
are great if you are using an intranet or if you are in development using
your own iis localhost but very often the solutions fall short when you
deploy to a web host that you do not have control over.

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
The detection of the browser is handled in the machine.config file located in:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFI G

You'll find a section like this where you can, presumably, customize .Net to detect your PDA and respond. Can't say more than that 'cause I've never messed with it.

<browserCaps>
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<use var="HTTP_USER_AGENT"/>

Ken
--
Microsoft MVPs have a question for *you*: Are you patched against the Worm? http://www.microsoft.com/security/se...s/ms03-026.asp

"Lauchlan M" <LM********@Hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Hi.

I have a need for users to access my ASP.NET pages from PDAs. I notice that you can deploy to different browser levels, eg IE5, HTML3.2, etc. So
deploying the forms to HTML3.2 will work for PDAs.

Is there much else to it (other than testing to make sure it looks and works ok)?

Also, how can I set it up to 'browser sniff' and serve up HTML 3.2 pages for PDAs and (say) HTML 4 pages otherwise?

Thanks!

Lauchlan M

Nov 17 '05 #2
"Lauchlan M" <LM********@Hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Hi.

I have a need for users to access my ASP.NET pages from PDAs. I notice that you can deploy to different browser levels, eg IE5, HTML3.2, etc. So
deploying the forms to HTML3.2 will work for PDAs.


Have you considered using the Mobile Internet Toolkit? This allows you to
use controls which adapt to PDAs, cell phones, etc. It is now part of Visual
Studio 2003, but is an add-in for 2002.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com
Nov 17 '05 #3

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

Similar topics

15
by: David | last post by:
On a page optimised for IE, I'd like to check if the browser type is other than IE, so I can direct them to another page. How can I modify the code below to redirect to indextext.asp if they...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
23
by: Mark Tranchant | last post by:
A new project: http://step-by-step.org.uk/ Don't worry about the links yet, the content hasn't been written. I'm just interested in the introduction screen, which is my first attempt at an...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
11
by: James | last post by:
I wasn't sure where to post this so I'm sorry if this is the wrong place. But I would like to know what some of the differences are between client-side and server-side browser sniffing. I'm aware...
16
by: petermichaux | last post by:
Hi, Does anyone have a a cross-browser setOpacity function that does not use browser sniffing? I looked at the Yahoo! UI function and it detects IE by looking for window.ActiveXObject. I also...
22
by: petermichaux | last post by:
Hi, I would like to display a message to Internet Explorer clients to encorage them to get Firefox. Yes they may like Internet Explorer but it is my site :) http://www.explorerdestroyer.com/...
1
by: RobG | last post by:
Browser sniffing is generally considered a very bad idea, developers are usually told that feature detection is the way to go. It seems a real pitty then that the developers of new platforms are...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.