As part of my upgrade from 6SP1 to 7 I thought I would also upgrade to VS2010 as well.
I upgraded my VS2008 (.NET 3.5) project to VS2010 (.NET 3.5) using the Visual Studio conversion wizard.
My project now does not compile, throwing the following errors in
CMSModules\AdminControls\Controls\Class\FormBuilder\FieldSelector.ascx:
'AjaxControlToolkit.ReorderList' does not contain a definition for 'ClientIDMode' and no extension method 'ClientIDMode' accepting a first argument of type 'AjaxControlToolkit.ReorderList' could be found (are you missing a using directive or an assembly reference?)
and
The type or namespace name 'ClientIDMode' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
This is the code in the Kentico control:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FieldSelector.ascx.cs" Inherits="CMSModules_AdminControls_Controls_Class_FormBuilder_FieldSelector" %>
<ajaxToolkit:ReorderList ID="lstFields" runat="server" AllowReorder="true" DragHandleAlignment="Left" ClientIDMode="AutoID">
<ItemTemplate>
<%# Eval("Text") %>
</ItemTemplate>
<DragHandleTemplate>
<div class="dragHandle">x</div>
</DragHandleTemplate>
</ajaxToolkit:ReorderList>
Any ideas?