I get an error on the <ajax:insertimage /> parameter of a toolbar for the htmleditorextender. The error is insertimage is not a known element. I tried checking the property pages for the web. The version for ajaxcontroltoolkit is Auto update. The sample
toolkit site indicates 3.5. Why is mine auto update and how can I make it 3.5 and does this have anything to do with why I am getting this error? I want to use ajaxtoolkit 3.5 on a 3.5 asp.net site working in VB studio 2010. asp.net 3.5 requires the 3.5
toolkit right? also, when I use Nuget, I can only install version 4 of the toolkit.
Firstly, you'd better download a sample
here. It should work on .NET Framework 2.0. If ASP.NET Ajax Extension v1.0 is not installed, please install it first. You can get the install filehere. (ASP.NET AJAX Extension for .NET Framework 3.5 is
integrated into .NET Framework 3.5). If it works, please compare it with your sample. Especially, the web.config part. If all these cannot figure out your problem, please download the version of .NET Framework 2.0here
(the version 1.0.20229 with source code). Before use it, please recompile it first. The installation steps, please follow the first two video tutorialshere. If you are using .NET Framework 2.0, please compare
your sample's web.config with the downloaded sample. Otherwise, if you are using .NET Framework 3.5, please compare it with the downloaded sample either.
Note:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229
You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.30512
2009-05-13 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1.
miltonsnider
Member
228 Points
457 Posts
htmleditorextender error
Aug 02, 2012 09:27 PM|LINK
I get an error on the <ajax:insertimage /> parameter of a toolbar for the htmleditorextender. The error is insertimage is not a known element. I tried checking the property pages for the web. The version for ajaxcontroltoolkit is Auto update. The sample toolkit site indicates 3.5. Why is mine auto update and how can I make it 3.5 and does this have anything to do with why I am getting this error? I want to use ajaxtoolkit 3.5 on a 3.5 asp.net site working in VB studio 2010. asp.net 3.5 requires the 3.5 toolkit right? also, when I use Nuget, I can only install version 4 of the toolkit.
thanks
Milton
<ajax:HtmlEditorExtender ID="htmlEditorExtender2" TargetControlID="TextBox_Body"
runat="server">
<Toolbar>
<ajax:Bold />
<ajax:Italic />
<ajax:Underline />
<ajax:HorizontalSeparator />
<ajax:JustifyLeft />
<ajax:JustifyCenter />
<ajax:JustifyRight />
<ajax:JustifyFull />
<ajax:CreateLink />
<ajax:UnLink />
<ajax:insertimage />
</Toolbar>
</ajax:HtmlEditorExtender>
Milton
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: htmleditorextender error
Aug 03, 2012 03:38 AM|LINK
Hi,
Firstly, you'd better download a sample here. It should work on .NET Framework 2.0. If ASP.NET Ajax Extension v1.0 is not installed, please install it first. You can get the install filehere. (ASP.NET AJAX Extension for .NET Framework 3.5 is integrated into .NET Framework 3.5). If it works, please compare it with your sample. Especially, the web.config part. If all these cannot figure out your problem, please download the version of .NET Framework 2.0here (the version 1.0.20229 with source code). Before use it, please recompile it first. The installation steps, please follow the first two video tutorialshere. If you are using .NET Framework 2.0, please compare your sample's web.config with the downloaded sample. Otherwise, if you are using .NET Framework 3.5, please compare it with the downloaded sample either.
Note:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.30512 2009-05-13 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1.
Some tutorials:
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/
http://www.asp.net/ajax/downloads/
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AtlasControlToolkit
http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-cs.aspx
http://www.asp.net/learn/ajax-videos/video-81.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
raghunandcs
Member
686 Points
163 Posts
Re: htmleditorextender error
Aug 03, 2012 09:49 AM|LINK
Hi,
your form.designer.cs is no longer code generating anything, and you are using a master page – then you can probably fix it by doing the following:
Hope this helps, (It took me a while to work that one out!)
-EDIT:
If you are getting warnings along the lines of “Generation of designer file failed: Unknown server tag ‘ajaxToolkit:’
or ‘asp:ScriptManager’
You should place these registrations in your aspx:
Or, ensure that your controls section in your web config is defined correctly:
<controls>
<add tagPrefix=”asp” namespace=”System.Web.UI” assembly=”System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″/>
<add tagPrefix=”asp” namespace=”System.Web.UI.Controls” assembly=”System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″/>
<add tagPrefix=”ajaxToolkit” namespace=”AjaxControlToolkit” assembly=”AjaxControlToolkit”/>
</controls>
See the following Links............
http://stackoverflow.com/questions/3550589/element-x-is-not-a-known-element-web-application
http://cosier.wordpress.com/2006/12/22/element-%E2%80%9Cscriptmanager%E2%80%9D-is-not-a-known-element-this-can-occur-if-there-is-a-compilation-error-in-the-website/
miltonsnider
Member
228 Points
457 Posts
Re: htmleditorextender error
Aug 07, 2012 10:19 PM|LINK
I just used a regular ajax editor control. I compared both web.configs and they seem to match.
Milton