简体   繁体   English

Ajax自动完成CSS在iis和服务器上工作正常,但在本地计算机上工作不正常

[英]Ajax Auto complete Css works fine in iis and the server but not in local machine

I have used ajax auto completeextender in my program well its works fine no problem. 我在程序中使用了ajax auto completeextender,它的工作正常,没有问题。 After hosting to iis server i checked it in iis there also works fine. 托管到iis服务器后,我在iis中对其进行了检查,效果也很好。 But when i accessing from brower autocomplete works fine but css is not working, 但是当我从浏览器自动完成访问正常但css无法正常工作时,

I am using external style sheet this is the css i hv used 我正在使用外部样式表,这是我使用的CSS

/*AutoComplete flyout */
.autocomplete_completionListElement
{
    margin : 0px!important ;
    background-color : inherit ;
    color : windowtext ;
    border : buttonshadow ;
    border-width : 1px ;
    border-style : solid ;
    cursor : 'default' ;
    overflow : auto ;
    height : 200px ;
    font-family : Tahoma ;
    font-size : small ;
    text-align : left ;
    list-style-type : none ;
    }
/* AutoComplete highlighted item */
.autocomplete_highlightedListItem
   {
    background-color : #ffff99 ;
    color : black ;
    padding : 1px ;
    }

    /* AutoComplete item */
.autocomplete_listItem
    {
    background-color : window ;
    color : windowtext ;
    padding : 1px ;
   }

I have solved my problem. 我已经解决了我的问题。 The problem is with the virtual directory in the iis.Make a new iis virtual directory in the iis then you won't get the above problem 问题出在iis中的虚拟目录上。在iis中创建一个新的iis虚拟目录后您将不会遇到上述问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当在本地计算机上正常运行时,为什么在IIS 7服务器上找不到类型或名称空间? - Why can't the type or namespace be found on IIS 7 server when it works fine on the local machine? .Ajax方法可在本地计算机上使用,但不能在服务器上使用 - .Ajax method works on local machine, but not on server 代码在本地机器上工作,但在 IIS 上不工作 - Code Works On Local Machine But Not On IIS IIS7上的ASP.NEt MVC 2应用程序错误在本地计算机上正常运行 - ASP.NEt MVC 2 application error on IIS7 works fine on local machine 我的asmx服务在我的本地机器的iis上运行正常,即win10。 但不适用于Windows Server 2008 r2 - my asmx service works fine on my local machine's iis which is win10. but does not work on windows server 2008 r2 WebApplication 在 IIS Express 上运行良好,但在本地 IIS 上不起作用 - WebApplication works fine on IIS Express but it doesn't on Local IIS ViewContext.RouteData.Values [“action”]在服务器上为空...在本地计算机上正常工作 - ViewContext.RouteData.Values[“action”] is null on server… works fine on local machine ASP.NET 项目在 VS 运行时在本地运行,但不在本地计算机或服务器上的 IIS 上运行 - ASP.NET project works locally on build when VS is running but not on IIS on my local machine or my server 不在azure服务器上工作但在本地环境中工作正常吗? - Not working on azure server but works fine in local environment? DirectX 应用程序无法通过 Process.Start 在 Windows Server 2012 R2 上加载,通过 CMD 或在本地计算机上正常工作 - DirectX app unable to load through Process.Start on Windows Server 2012 R2, works fine through CMD or on local machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM