Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Browser levels, PDAs and browser sniffing

Reply
Thread Tools

Browser levels, PDAs and browser sniffing

 
 
Lauchlan M
Guest
Posts: n/a
 
      08-17-2003
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



 
Reply With Quote
 
 
 
 
Jason \(MFT1\)
Guest
Posts: n/a
 
      08-17-2003
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]" <> wrote in message
news:%23$...
> 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" <> wrote in message
> news:%...
> 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
>
>
>
>



 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      08-17-2003
"Lauchlan M" <> wrote in message
news:%...
> 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



 
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
Yet another appeal for browser sniffing David Mark Javascript 6 11-03-2011 02:39 PM
Browser sniffing - all the rage. RobG Javascript 1 09-11-2007 06:39 AM
Cross-browser setOpacity() without browser sniffing? petermichaux@gmail.com Javascript 16 09-07-2006 08:35 AM
Developing MIDlet for PDAs and cell phones Darryl L. Pierce Java 5 11-03-2004 12:32 PM
Browser Sniffing James Javascript 10 05-21-2004 04:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57