redirection to mobile pages

Discussion in 'ASP .Net Mobile' started by Carlos, Apr 19, 2005.

  1. Carlos

    Carlos Guest

    Hi all,

    I was able to redirect browser rendering
    according to the browser capabilities in my test
    environment. I did the testing using a pocket pc
    that has pocket IE v4.0. However, it was not sufficient
    to modify the config file as microsoft suggest
    by using:
    <httpRuntime
    useFullyQualifiedRedirectUrl="true"
    /> alone. I had to go to the machine.config file
    and modify one of the entries that test the browser
    capabilities that detrmine that the
    isMobileDevice=true
    is in reality enabled.. That is, I had t modify the
    <case match="^[5-9]\." with="${version}"> TO
    <case match="^[4-9]\." with="${version}"> for it
    to work...

    Can anybody in Mocrosoft explain why this happens?
    it seems that the test for pocketIE is never taking place..
    How can I make similar change in my web.config instead of the
    machine.config?

    Thanks!

    Carlos


    </filter>
    </case>
    <case match="^Mozilla[^(]*\(compatible; MSIE
    (?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))(?'extra'.*)">

    browser=IE
    version=${version}
    majorversion=${major}
    minorversion=${minor}

    <case match="^[4-9]\." with="${version}">
    frames=true
    tables=true
    cookies=true
    backgroundsounds=true
    vbscript=true
    javascript=true
    javaapplets=true
    activexcontrols=true
    tagwriter=System.Web.UI.HtmlTextWriter
    ecmascriptversion=1.2
    msdomversion=${major}${minor}
    w3cdomversion=1.0
    css1=true
    css2=true
    xml=true
    isMobileDevice="true"
     
    Carlos, Apr 19, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carlos
    Replies:
    4
    Views:
    21,905
    amimpat
    Aug 11, 2009
  2. Zahoor
    Replies:
    1
    Views:
    811
    Darryl L. Pierce
    Nov 15, 2003
  3. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    Non "mobile" controls on Mobile ASPX

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Aug 17, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    663
    Steven Cheng[MSFT]
    Aug 20, 2007
  4. chen selina
    Replies:
    0
    Views:
    1,324
    chen selina
    Jul 13, 2010
  5. Ryan Malone
    Replies:
    0
    Views:
    174
    Ryan Malone
    Aug 23, 2004
Loading...

Share This Page