发布后ajax控件无法正常工作 [英] ajax control is not working after published
本文介绍了发布后ajax控件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我正在使用asp.net 4.5 Web应用程序。它包含ajax控件,如实时趋势的计时器。问题是,当我发布我的Web应用程序时,所有ajax控件[Timer,Modalpopup]都无法正常工作。为什么会发生这种情况?
我的目标框架是4.5,在iis应用程序池框架中是4.0
Hello,
I am working on asp.net 4.5 web application. It contains ajax control like timer for real time trends. Problem is when i am publish my web application all ajax control[Timer,Modalpopup] is not working.Why this is happening??
My target framework is 4.5 and in iis application pool framework is 4.0
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<!-- <add assembly="Telerik.Web.Design, Version=2013.1.417.45, Culture=neutral, PublicKeyToken=121FAE78165BA3D4" />-->
<add assembly="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" />
请帮助我...我有搜索相关帖子但没有得到任何东西...
Please help me... I have search related post of it but not getting anything...
推荐答案
我已经通过将combinecript属性设为false来解决了这个问题,如下所示:
< ; asp:ToolkitScriptManager ID =ToolkitScriptManager1runat =serverCombineScripts =falseEnablePageMethods =true>< / asp:ToolkitScriptManager>
I have solved this issue by making combinescript property false as follows,
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" CombineScripts="false" EnablePageMethods="true"></asp:ToolkitScriptManager>
这篇关于发布后ajax控件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文