View Single Post
  #5 (permalink)  
Old April 29th, 2019, 12:45 PM
philipjb philipjb is offline
Registered User
Points: 37, Level: 1
Points: 37, Level: 1 Points: 37, Level: 1 Points: 37, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2019
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default Issue One: Partially Solved Update

Hi Imar
Have found several posts with regard to the following browsers
Google Chrome and Apple Safari, when displaying ASP:Menu Controls and not rendering correctly.

There are several solutions it seems one example is this code into the Master Page.

protected override void AddedControl(Control control, int index)
{
if (Request.ServerVariables["http_user_agent"].IndexOf("Safari", StringComparison.CurrentCultureIgnoreCase) != -1)
{
this.Page.ClientTarget = "uplevel";
}
base.AddedControl(control, index);

Another simpler One

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
Request.Browser.Adapters.Clear();
}
}

Source: https://www.codeproject.com/Question...es-not-display