c# - AjaxControlToolkit CalendarExtender not working after publish -
i using ajaxcontroltoolkit calendarextender in web site , working in visual studio 2012 after publish iis calendar extender control won't show !
asp.net code :
<asp:textbox id="txtfrom" runat="server" width="200"></asp:textbox> <asp:image id="image1" runat="server" imageurl="~/image/calendar.png" /> <ajaxtoolkit:calendarextender id="calendar1" runat="server" targetcontrolid="txtfrom" format="dd.mm.yyyy" enabled="true" popupbuttonid="image1" cssclass="cal_theme1"></ajaxtoolkit:calendarextender>
web.config :
<configuration> <configsections> <!-- more information on entity framework configuration, visit http://go.microsoft.com/fwlink/?linkid=237468 --> <section name="entityframework" type="system.data.entity.internal.configfile.entityframeworksection, entityframework, version=6.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" requirepermission="false" /> </configsections> <connectionstrings> <add name="defaultconnection" connectionstring="data source=(localdb)\v11.0;attachdbfilename=|datadirectory|\aspnet-rechnungprogramm-20140827102620.mdf;initial catalog=aspnet-rechnungprogramm-20140827102620;integrated security=true" providername="system.data.sqlclient" /> <add name="rechnungconnectionstring" connectionstring="data source=(localdb)\v11.0;attachdbfilename=|datadirectory|\rechnung.mdf;integrated security=true" providername="system.data.sqlclient" /> </connectionstrings> <system.web> <authentication mode="none" /> <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" /> </assemblies> </compilation> <httpruntime targetframework="4.5" /> <pages> <namespaces> <add namespace="system.web.optimization" /> <add namespace="microsoft.aspnet.identity" /> </namespaces> <controls> <add assembly="microsoft.aspnet.web.optimization.webforms" namespace="microsoft.aspnet.web.optimization.webforms" tagprefix="webopt" /> <add tagprefix="ajaxtoolkit" assembly="ajaxcontroltoolkit" namespace="ajaxcontroltoolkit" /></controls> </pages> <membership> <providers> <!-- asp.net membership disabled in template. please visit following link http://go.microsoft.com/fwlink/?linkid=301889 learn asp.net membership support in template --> <clear /> </providers> </membership> <profile> <providers> <!-- asp.net membership profile disabled in template. please visit following link http://go.microsoft.com/fwlink/?linkid=301889 learn asp.net membership support in template --> <clear /> </providers> </profile> <rolemanager> <!-- asp.net membership role disabled in template. please visit following link http://go.microsoft.com/fwlink/?linkid=301889 learn asp.net membership support in template --> <providers> <clear /> </providers> </rolemanager> <!-- if deploying cloud environment has multiple web server instances, should change session state mode "inproc" "custom". in addition, change connection string named "defaultconnection" connect instance of sql server (including sql azure , sql compact) instead of sql server express. --> <sessionstate mode="inproc" customprovider="defaultsessionprovider"> <providers> <add name="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> <remove name="formsauthenticationmodule" /> </modules> <handlers> <add name="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> <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentassembly> <assemblyidentity name="webgrease" culture="neutral" publickeytoken="31bf3856ad364e35" /> <bindingredirect oldversion="0.0.0.0-1.5.2.14234" newversion="1.5.2.14234" /> </dependentassembly> <dependentassembly> <assemblyidentity name="microsoft.windowsazure.storage" publickeytoken="31bf3856ad364e35" culture="neutral" /> <bindingredirect oldversion="0.0.0.0-2.1.0.4" newversion="2.1.0.4" /> </dependentassembly> <dependentassembly> <assemblyidentity name="htmlagilitypack" publickeytoken="bd319b19eaf3b43a" culture="neutral" /> <bindingredirect oldversion="0.0.0.0-1.4.9.0" newversion="1.4.9.0" /> </dependentassembly> </assemblybinding> </runtime> <entityframework> <defaultconnectionfactory type="system.data.entity.infrastructure.localdbconnectionfactory, entityframework"> <parameters> <parameter value="v11.0" /> </parameters> </defaultconnectionfactory> <providers> <provider invariantname="system.data.sqlclient" type="system.data.entity.sqlserver.sqlproviderservices, entityframework.sqlserver" /> </providers> </entityframework> </configuration>
i using ajaxcontroltoolkit.dll version 4.5.7.1213
how can fix ?
Comments
Post a Comment