When I use the htmlextender in a page, I often try to paste html from wikepedia or other webpages into it. So I select a portion of those webpages, and do Edit/Copy, and then I paste into the htmlextender. Other times I copy and paste from emails that I get (I use Windows Live Mail). I find that in some cases, pictures do get transferred. Other times, there is just a blank frame where the picture is supposed to be. Does anyone know why this happens?
Internet Explorer seems to block pictures completely (in the extender).
Thanks.
Comments: I am running into another problem now. I copied my project to a new folder, and deleted some statements from the web.config (and package.config) and then installed version 15 of the ajaxcontrolToolkit using Nuget. I replaced all instances of tookitScriptManager by Scriptmanager. I find that if I type into a page the following: ajaxcontrolToolkit: that intellisense fills in a large series of choices. But none of those choices are the htmlEditorExtender. Furthermore, for many ajaxcontroltoolkit controls, VS seems to prefer me to type an 'asp:' prefix, instead of "ajaxcontroltoolkit:" prefix. Otherwise I get a compile error. If I look in my web.config, it looks like this: ``` <?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <configSections> <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" /> </configSections> <appSettings> <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> <!-- above was needed to get program to work on my local PC--> </appSettings> <system.webServer> <staticContent> <mimeMap fileExtension="webm" mimeType="video/webm" /> <mimeMap fileExtension="ogg" mimeType="video/ogg" /> </staticContent> <httpErrors errorMode="Detailed" /> <!--above old--> <asp scriptErrorSentToBrowser="true" /> <!--above old--> <validation validateIntegratedModeConfiguration="false" /> <handlers> <remove name="ChartImageHandler" /> <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </handlers> </system.webServer> <system.web> <trace enabled="false" pageOutput="true" /> <httpHandlers> <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /> </httpHandlers> <pages theme="Theme1"> <controls> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </controls> </pages> <compilation debug="true" strict="false" explicit="true" targetFramework="4.5"> <codeSubDirectories> <add directoryName="CSCode" /> </codeSubDirectories> <assemblies> <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> </assemblies> </compilation> <httpRuntime targetFramework="4.5" /> <!--httpCookies httpOnlyCookies="true" requireSSL="true" / --> </system.web> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <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="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.20229.24049" newVersion="1.0.20229.24049" /> </dependentAssembly> </assemblyBinding> </runtime> <ajaxControlToolkit htmlSanitizer="AjaxControlToolkit.HtmlEditor.Sanitizer.DefaultHtmlSanitizer, AjaxControlToolkit.HtmlEditor.Sanitizer" /></configuration> ``` If I can get by this hurdle, I can test whether the other problems have been solved by the new version. Thanks.
Internet Explorer seems to block pictures completely (in the extender).
Thanks.
Comments: I am running into another problem now. I copied my project to a new folder, and deleted some statements from the web.config (and package.config) and then installed version 15 of the ajaxcontrolToolkit using Nuget. I replaced all instances of tookitScriptManager by Scriptmanager. I find that if I type into a page the following: ajaxcontrolToolkit: that intellisense fills in a large series of choices. But none of those choices are the htmlEditorExtender. Furthermore, for many ajaxcontroltoolkit controls, VS seems to prefer me to type an 'asp:' prefix, instead of "ajaxcontroltoolkit:" prefix. Otherwise I get a compile error. If I look in my web.config, it looks like this: ``` <?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <configSections> <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" /> </configSections> <appSettings> <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> <!-- above was needed to get program to work on my local PC--> </appSettings> <system.webServer> <staticContent> <mimeMap fileExtension="webm" mimeType="video/webm" /> <mimeMap fileExtension="ogg" mimeType="video/ogg" /> </staticContent> <httpErrors errorMode="Detailed" /> <!--above old--> <asp scriptErrorSentToBrowser="true" /> <!--above old--> <validation validateIntegratedModeConfiguration="false" /> <handlers> <remove name="ChartImageHandler" /> <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </handlers> </system.webServer> <system.web> <trace enabled="false" pageOutput="true" /> <httpHandlers> <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /> </httpHandlers> <pages theme="Theme1"> <controls> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </controls> </pages> <compilation debug="true" strict="false" explicit="true" targetFramework="4.5"> <codeSubDirectories> <add directoryName="CSCode" /> </codeSubDirectories> <assemblies> <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> </assemblies> </compilation> <httpRuntime targetFramework="4.5" /> <!--httpCookies httpOnlyCookies="true" requireSSL="true" / --> </system.web> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <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="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.20229.24049" newVersion="1.0.20229.24049" /> </dependentAssembly> </assemblyBinding> </runtime> <ajaxControlToolkit htmlSanitizer="AjaxControlToolkit.HtmlEditor.Sanitizer.DefaultHtmlSanitizer, AjaxControlToolkit.HtmlEditor.Sanitizer" /></configuration> ``` If I can get by this hurdle, I can test whether the other problems have been solved by the new version. Thanks.