Dynamic Menu not working with safari

Discussion in 'ASP.NET / ASP.NET Core' started by collegefootballsim.com, Apr 29, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    I'm stuck again with this dynamic menu in vwd2008, this time with safari. It does not show the menu. I have added this code

    Code:
     
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
            'Safari Hack
            If Request.UserAgent.IndexOf("AppleWebKit") > 0 Then
                Request.Browser.Adapters.Clear()
    
            End If
            
        End Sub
    
    to my masterpage. However, it doesn't work when the page loads the first time, but if you hit reload then the dynamic menu displays.

    The website is www.prsportsperformance.com if you want to see what i mean
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page