Hi,
I have upgraded my MOSS RadEditor to latest version.
I downloaded the "RadEditor_MOSS_4_5_0_dev.zip" from the Client.net area.
I retracted the old solution and deployed the new WSP package.
Now that I try to run my custom command I get this error message:
Could not find command CSWIKITOC. Please update your command list.
My listtoolsfile.xml has this tool configured in the <Tools> section:
<tool name="CSWIKITOC" ShowIcon="false" ShowText="true"/>
My javascript, which is loaded on the page, has the following function:
RadEditorCommandList["CSWIKITOC"] = function(commandName, editor, oTool)
{
editor.PasteHtml('<div id="CS_WIKITOC">TOC will go here</div>');
}
This was all working before the upgrade.
Any idea what might cause this?
Also, I know I'm running the full featured editor because the Ajax spell checking is working in the editor.
Best Regards,
Rickard Lofberg
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="listing_stats.aspx.cs" Inherits="listing_stats" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="rad" %> |
| <%@ Register TagPrefix="rad" Namespace="Telerik.Charting" Assembly="Telerik.Charting" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title>Listing Statistics</title> |
| </head> |
| <body style="margin:0px;padding:0px;background-color:Black;text-align:center;"> |
| <form style="margin:0px;padding:0px;" id="form1" runat="server"> |
| <div> |
| <table cellpadding="0" cellspacing="0" border="0" > |
| <tr> |
| <td> |
| <rad:RadChart ID="RadChart1" runat="server" SkinsOverrideStyles="false" Skin="Black" > |
| <PlotArea> |
| <XAxis MaxValue="5" MinValue="1" Step="1"> |
| </XAxis> |
| <YAxis MaxValue="100" Step="5"> |
| </YAxis> |
| <YAxis2 MaxValue="100" MinValue="1" Step="1"> |
| </YAxis2> |
| </PlotArea> |
| <ChartTitle> |
| <TextBlock Text="Clicks for 123 Main Street"> |
| </TextBlock> |
| </ChartTitle> |
| <Series> |
| <rad:ChartSeries Name="Series 1" Type="Pie" > |
| <Appearance LegendDisplayMode="ItemLabels"> |
| <FillStyle MainColor="Blue" SecondColor="Red"> |
| </FillStyle> |
| </Appearance> |
| <Items> |
| <rad:ChartSeriesItem YValue="72" Name="C21"> |
| <Appearance> |
| <FillStyle MainColor="Red" SecondColor="Yellow"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="30" Name="MyWeb"> |
| <Appearance> |
| <FillStyle MainColor="Gray" SecondColor="Red"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="54" Name="Google"> |
| <Appearance> |
| <FillStyle MainColor="Green" SecondColor="Yellow"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="31" Name="Trulia"> |
| <Appearance> |
| <FillStyle MainColor="Blue" SecondColor="Gray"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="25" Name="Yahoo"> |
| <Appearance> |
| <FillStyle MainColor="pink" SecondColor="magenta"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| </Items> |
| </rad:ChartSeries> |
| </Series> |
| </rad:RadChart> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <rad:RadChart ID="RadChart4" runat="server" skin="Black"> |
| <PlotArea> |
| <YAxis MaxValue="300" Step="10"> |
| </YAxis> |
| <XAxis AutoScale="False" DataLabelsColumn="Month" MaxValue="0" Step="1"> |
| <Items> |
| <rad:ChartAxisItem> |
| <textblock text="November"></textblock> |
| </rad:ChartAxisItem> |
| <rad:ChartAxisItem> |
| <textblock text="December"></textblock> |
| </rad:ChartAxisItem> |
| <rad:ChartAxisItem> |
| <textblock text="January"></textblock> |
| </rad:ChartAxisItem> |
| <rad:ChartAxisItem> |
| <textblock text="February"></textblock> |
| </rad:ChartAxisItem> |
| </Items> |
| </XAxis> |
| </PlotArea> |
| <ChartTitle> |
| <TextBlock Text="Views vs Clicks vs Leads"> |
| </TextBlock> |
| </ChartTitle> |
| <Appearance> |
| </Appearance> |
| <Series> |
| <rad:ChartSeries Name="Views"> |
| <Items> |
| <rad:ChartSeriesItem YValue="125" Name="Item 20"> |
| <Appearance> |
| <FillStyle MainColor="Red" SecondColor="Yellow"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="114" Name="Item 100"> |
| <Appearance> |
| <FillStyle MainColor="Red" SecondColor="Yellow"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="97" Name="Item 100"> |
| <Appearance> |
| <FillStyle MainColor="Red" SecondColor="Yellow"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="143" Name="Item 20"> |
| <Appearance> |
| <FillStyle MainColor="Red" SecondColor="Yellow"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| </Items> |
| </rad:ChartSeries> |
| <rad:ChartSeries Name="Clicks"> |
| <Items> |
| <rad:ChartSeriesItem YValue="79" Name="Item 20"> |
| <Appearance> |
| <FillStyle MainColor="Green"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="43" Name="Item 100"> |
| <Appearance> |
| <FillStyle MainColor="Green"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="71" Name="Item 100"> |
| <Appearance> |
| <FillStyle MainColor="Green"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="98" Name="Item 20"> |
| <Appearance> |
| <FillStyle MainColor="Green"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| </Items> |
| </rad:ChartSeries> |
| <rad:ChartSeries Name="Leads"> |
| <Items> |
| <rad:ChartSeriesItem YValue="13" Name="Item 20"> |
| <Appearance> |
| <FillStyle MainColor="Red"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="7" Name="Item 100"> |
| <Appearance> |
| <FillStyle MainColor="Red"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="19" Name="Item 100"> |
| <Appearance> |
| <FillStyle MainColor="Red"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| <rad:ChartSeriesItem YValue="14" Name="Item 20"> |
| <Appearance> |
| <FillStyle MainColor="Red"> |
| </FillStyle> |
| </Appearance> |
| </rad:ChartSeriesItem> |
| </Items> |
| </rad:ChartSeries> |
| </Series> |
| </rad:RadChart> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </form> |
| </body> |
| </html> |

<telerik:RadEditor runat="server" ID="RadEditor1"
ToolsFile="~/xml/BasicTools.xml">
<Content>
<%# Bind("dbColumn") %>
</Content>
</telerik:RadEditor>

We tried to upgrade the Prometheus RadControls to the new version released this week and now we get this error on all the instances of RadGrid and the project will not build.
Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
It seems there is some kind of error within the ASP.NET AJAX that Microsoft released a fix for, but this fix does not work for us:
Could not load file or assembly System.Web.Extensions, Version=3.5.0.0
Is it possible there is some kind of error within the new RadControls version that is pointing to the 3.5 version of .NET and not 2.0?

protected void RadGrid1_ItemCreated(object source, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item.ItemType == GridItemType.Footer)
{
GridFooterItem footer = e.Item as GridFooterItem;
footer.Controls.Add(new LiteralControl("Hello World!"));
}
}