Are there any known issues for visiting asp.net pages on Macintosh?

Discussion in 'ASP .Net' started by Jack, Oct 4, 2005.

  1. Jack

    Jack Guest

    Hello:
    We have a customer whose stuff are using Macintosh, and we just created
    an asp.net web application in windows 2003 server, but we met some
    strange problems when they visit the application, so I wonder are there
    any known issues and solutions about this?

    Thanks in advance!
    Jack
     
    Jack, Oct 4, 2005
    #1
    1. Advertising

  2. Hi, Jack.

    Incorporating the additional browser definitions at :
    http://slingfive.com/pages/code/browserCaps/browserCaps_spaces.txt
    should get rid of your customer's problems.

    If it doesn't, please post back the browser's name and version,
    and it's user-Agent, to see if somebody can come up with a
    custom browser definition for it.



    Juan T. Llibre, ASP.NET MVP
    ASP.NET FAQ : http://asp.net.do/faq/
    Foros de ASP.NET en Español : http://asp.net.do/foros/
    ======================================
    "Jack" <> wrote in message
    news:...
    > Hello:
    > We have a customer whose stuff are using Macintosh, and we just created
    > an asp.net web application in windows 2003 server, but we met some
    > strange problems when they visit the application, so I wonder are there
    > any known issues and solutions about this?
    >
    > Thanks in advance!
    > Jack
    >
     
    Juan T. Llibre, Oct 4, 2005
    #2
    1. Advertising

  3. Jack

    Bruce Barker Guest

    several issues

    1) need to update browsercaps, or asp.net strips height and width styles
    2) no client validation runs
    3) no smart nav support (should not use anyway)
    4) the mac is html 4.0 complient, while IE is not, may change layout (style
    commands work different)
    5) grid mode may cause layout problems (this actually true with IE and
    windows ) and should not be used.
    6) any client script must be validated

    -- bruce (sqlwork.com)


    "Jack" <> wrote in message
    news:...
    > Hello:
    > We have a customer whose stuff are using Macintosh, and we just created
    > an asp.net web application in windows 2003 server, but we met some
    > strange problems when they visit the application, so I wonder are there
    > any known issues and solutions about this?
    >
    > Thanks in advance!
    > Jack
    >
     
    Bruce Barker, Oct 4, 2005
    #3
  4. Jack

    Jack Guest

    Thank you both!
    But Juan, how to incorporate the additional browser definiitions?
     
    Jack, Oct 5, 2005
    #4
  5. Jack

    Jack Guest

    And they are running Internet Explorer, in Macintosh.
     
    Jack, Oct 5, 2005
    #5
  6. Jack,

    there's full instructions at :
    http://slingfive.com/pages/code/browserCaps/

    See the "installation" section.
    Be careful when editing machine.config, and make a backup before starting.

    If you prefer, copy the whole browsercaps section in
    machine.config to your web.config, and add the code at :
    http://slingfive.com/pages/code/browserCaps/browserCaps_spaces.txt
    to the end of the <browsercaps> section.

    Make sure you don't duplicate the section heading ( <browsercaps> ).

    Warning : for Beta 2 and later versions of ASP.NET 2.0, the complete
    browser detection system is overhauled and the browsercaps section
    disappears from machine.config.

    It was replaced by a series of *.browser configuration files stored in
    drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50xxx\CONFIG\Browsers

    There's still a <browsercaps> section in web.config, but it's a minimal one.

    What you'll need to do for adding browser detection capabilities in Beta 2
    and later is write a *.browser file for the new browser and an alias for it in
    the <clientTarget> section of web.config, if needed.





    Juan T. Llibre, ASP.NET MVP
    ASP.NET FAQ : http://asp.net.do/faq/
    Foros de ASP.NET en Español : http://asp.net.do/foros/
    ======================================
    "Jack" <> wrote in message
    news:...
    > Thank you both!
    > But Juan, how to incorporate the additional browser definiitions?
     
    Juan T. Llibre, Oct 5, 2005
    #6
  7. I should have added that while the browser detection mechanism
    has changed, the old model ( with <browsercaps> entries ) is still supported.

    I'm diving into the new model, though.

    Here two links to more information on the new browser detection model :

    browserCaps Element (ASP.NET Settings Schema)
    http://msdn2.microsoft.com/sk9az15a

    Browser Definition File Schema (browsers Element)
    http://msdn2.microsoft.com/ms133991

    There's also an App_Browsers directory for adding *.browser files.
    If you modify any file in the App_Browsers directory, the application will restart.

    If you modify any *.browsers file in the CONFIG\Browsers directory, you must
    manually recompile the application by using the aspnet_regbrowsers.exe tool,
    or you must programmatically recompile it by using the BrowserCapabilitiesCodeGenerator
    class.




    Juan T. Llibre, ASP.NET MVP
    ASP.NET FAQ : http://asp.net.do/faq/
    Foros de ASP.NET en Español : http://asp.net.do/foros/
    ======================================
    "Juan T. Llibre" <> wrote in message
    news:...
    > Jack,
    >
    > there's full instructions at :
    > http://slingfive.com/pages/code/browserCaps/
    >
    > See the "installation" section.
    > Be careful when editing machine.config, and make a backup before starting.
    >
    > If you prefer, copy the whole browsercaps section in
    > machine.config to your web.config, and add the code at :
    > http://slingfive.com/pages/code/browserCaps/browserCaps_spaces.txt
    > to the end of the <browsercaps> section.
    >
    > Make sure you don't duplicate the section heading ( <browsercaps> ).
    >
    > Warning : for Beta 2 and later versions of ASP.NET 2.0, the complete
    > browser detection system is overhauled and the browsercaps section
    > disappears from machine.config.
    >
    > It was replaced by a series of *.browser configuration files stored in
    > drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50xxx\CONFIG\Browsers
    >
    > There's still a <browsercaps> section in web.config, but it's a minimal one.
    >
    > What you'll need to do for adding browser detection capabilities in Beta 2
    > and later is write a *.browser file for the new browser and an alias for it in
    > the <clientTarget> section of web.config, if needed.
    >
    >
    >
    >
    >
    > Juan T. Llibre, ASP.NET MVP
    > ASP.NET FAQ : http://asp.net.do/faq/
    > Foros de ASP.NET en Español : http://asp.net.do/foros/
    > ======================================
    > "Jack" <> wrote in message
    > news:...
    >> Thank you both!
    >> But Juan, how to incorporate the additional browser definiitions?

    >
    >
     
    Juan T. Llibre, Oct 5, 2005
    #7
  8. Jack

    Jack Guest

    Aha, thanks, will try your solution and come back to you.
     
    Jack, Oct 5, 2005
    #8
    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. Mark
    Replies:
    0
    Views:
    369
  2. dinoo
    Replies:
    4
    Views:
    1,040
    Alexey Smirnov
    Jun 9, 2008
  3. Replies:
    1
    Views:
    390
    John B. Matthews
    Feb 7, 2009
  4. Replies:
    1
    Views:
    338
    Andrew Thompson
    Feb 9, 2009
  5. James Britt
    Replies:
    5
    Views:
    303
Loading...

Share This Page