PDA

View Full Version : سوال: AjaxControlToolkit CalendarExtender بعد از آپلود بر روی IIS نشان داده نمی شود



mazi.jooon
جمعه 11 اردیبهشت 1394, 11:23 صبح
سلام ، من از AjaxControlToolkit CalendarExtender می خواهم استفاده کنم و در ویژوال استودیو بدرستی کار میکنه ولی وقتی بر روی iis آپلود میکنم Calendar Extendar دیگه Popup نمی کنه . فولدر bin هم چک کردم dll های لازم اونجا هستش و فایل config هم آپدیت کردم ، اگر کسی راه حلی داره کمک کنه لطفا !
کد asp :

<asp:TextBoxID="txtFrom"runat="server"Width="200"></asp:TextBox>
<asp:ImageID="image1"runat="server"ImageUrl="~/Image/calendar.png"/>
<ajaxToolkit:CalendarExtenderID="Calendar1"runat="server"TargetControlID="txtFrom"Format="dd.MM.yyyy"Enabled="true"PopupButtonID="image1"CssClass="cal_Theme1"></ajaxToolkit:CalendarExtender>


web.config :



<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<sectionname="entityFramework"type="System.Data.Entity.Internal.ConfigFile.EntityFrame workSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"requirePermission="false"/>
</configSections>
<connectionStrings>
<addname="DefaultConnection"connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirec tory|\aspnet-RechnungProgramm-20140827102620.mdf;Initial Catalog=aspnet-RechnungProgramm-20140827102620;Integrated Security=True"providerName="System.Data.SqlClient"/>
<addname="RechnungConnectionString"connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirec tory|\Rechnung.mdf;Integrated Security=True"providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<authenticationmode="None"/>
<compilationdebug="true"targetFramework="4.5">
<assemblies>
<addassembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<addassembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<addassembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<httpRuntimetargetFramework="4.5"/>
<pages>
<namespaces>
<addnamespace="System.Web.Optimization"/>
<addnamespace="Microsoft.AspNet.Identity"/>
</namespaces>
<controls>
<addassembly="Microsoft.AspNet.Web.Optimization.WebForms"namespace="Microsoft.AspNet.Web.Optimization.WebForms"tagPrefix="webopt"/>
<addtagPrefix="ajaxToolkit"assembly="AjaxControlToolkit"namespace="AjaxControlToolkit"/></controls>
</pages>
<membership>
<providers>
<!--
ASP.NET Membership is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
-->
<clear/>
</providers>
</membership>
<profile>
<providers>
<!--
ASP.NET Membership Profile is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
-->
<clear/>
</providers>
</profile>
<roleManager>
<!--
ASP.NET Membership Role is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
-->
<providers>
<clear/>
</providers>
</roleManager>
<!--
If you are deploying to a cloud environment that has multiple web server instances,
you should change session state mode from "InProc" to "Custom". In addition,
change the connection string named "DefaultConnection" to connect to an instance
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
-->
<sessionStatemode="InProc"customProvider="DefaultSessionProvider">
<providers>
<addname="DefaultSessionProvider"type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"connectionStringName="DefaultConnection"/>
</providers>
</sessionState>
</system.web>
<system.webServer>
<modules>
<removename="FormsAuthenticationModule"/>
</modules>
<handlers>
<addname="ScriptResource"preCondition="integratedMode"verb="GET,HEAD"path="ScriptResource.axd"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBindingxmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentityname="WebGrease"culture="neutral"publicKeyToken="31bf3856ad364e35"/>
<bindingRedirectoldVersion="0.0.0.0-1.5.2.14234"newVersion="1.5.2.14234"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentityname="Microsoft.WindowsAzure.Storage"publicKeyToken="31bf3856ad364e35"culture="neutral"/>
<bindingRedirectoldVersion="0.0.0.0-2.1.0.4"newVersion="2.1.0.4"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentityname="HtmlAgilityPack"publicKeyToken="bd319b19eaf3b43a"culture="neutral"/>
<bindingRedirectoldVersion="0.0.0.0-1.4.9.0"newVersion="1.4.9.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactorytype="System.Data.Entity.Infrastructure.LocalDbConnectio nFactory, EntityFramework">
<parameters>
<parametervalue="v11.0"/>
</parameters>
</defaultConnectionFactory>
<providers>
<providerinvariantName="System.Data.SqlClient"type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
</providers>
</entityFramework>
</configuration>


در ضمن ورژن AjaxControlToolkit 4.5.7.1213 میباشد .

mazi.jooon
جمعه 11 اردیبهشت 1394, 11:31 صبح
در ضمن ScriptManager در مستر پیج قرار دارد :
<"form runat="server>
"ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true>
<EnableScriptLocalization="true" ID="ScriptManager1" ScriptMode="Debug"CombineScripts="false
<Scripts>
<%--To learn more about bundling scripts inScriptManager see http://go.microsoft.com/fwlink/?LinkID=301884 --%>
<%--FrameworkScripts--%>
<asp:ScriptReferenceName="jquery"/>
<asp:ScriptReferenceName="bootstrap"/>
<asp:ScriptReferenceName="respond"/>
<asp:ScriptReferenceName="WebForms.js"Path="~/Scripts/WebForms/WebForms.js"/>
<asp:ScriptReferenceName="WebUIValidation.js"Path="~/Scripts/WebForms/WebUIValidation.js"/>
<asp:ScriptReferenceName="MenuStandards.js"Path="~/Scripts/WebForms/MenuStandards.js"/>
<asp:ScriptReferenceName="GridView.js"Path="~/Scripts/WebForms/GridView.js"/>
<asp:ScriptReferenceName="DetailsView.js"Path="~/Scripts/WebForms/DetailsView.js"/>
<asp:ScriptReferenceName="TreeView.js"Path="~/Scripts/WebForms/TreeView.js"/>
<asp:ScriptReferenceName="WebParts.js"Path="~/Scripts/WebForms/WebParts.js"/>
<asp:ScriptReferenceName="Focus.js"Path="~/Scripts/WebForms/Focus.js"/>
<asp:ScriptReferenceName="WebFormsBundle"/>
<%--SiteScripts--%>
</Scripts>
</ajaxToolkit:ToolkitScriptManager>