segunda-feira, 21 de janeiro de 2013

Compatibilidade Menu ASP .NET 2.0 com Chrome

Aqui fica uma solução (a que experimentei e funcou):



Method 1
  • 1) Go to Solution Explorer in Visual Studio and add “ASP.NET Folder” named “APP_Broswers”.
  • 2) Add new item “Browser File” to this special folder and name it “safari.browser” for both browser Chrome as well as Safari.
  • 3) Now Delete all per-added data from safari.browser file.
  • 4) Now add the following tags to that browser file.
  • <browsers> 
        <browser refID="safari1plus"> 
            <controlAdapters> 
              <adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" /> 
            </controlAdapters> 
        </browser> 
    </browsers>
    
  • 5) Now only you need is to save that file. 
setps:


In: http://www.codeproject.com/Tips/429169/ASP-NET-menu-control-issue-in-Chrome-and-Safari

Sem comentários: