Comme l'indique le titre du topic j'ai un conflit dans l'AjaxControlToolKit et je n'arrive pas à voir d'où cela provient. Lorsque j'essaye d'afficher ma page j'ai l'erreur suivante :

'CascadingDropDown' is ambiguous in the namespace 'AjaxControlToolkit'
Voici mon code ASPX :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<%@ Page Language="vb" AutoEventWireup="false" EnableEventValidation="false" CodeBehind="ma_page.aspx.vb" Inherits="projet.ma_page" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolKit" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
   <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" ></asp:ScriptManager>
        <br />
        <table style="width:98%" class="bordernoir">
            <tr>
                <th colspan="4" class="list"></th>
            </tr>
            <tr>
                <td style="text-align:right; white-space:nowrap; width:150px">
                    <asp:Label ID="lblDistributeur" runat="server"><asp:Label ID="lblSelection" runat="server" ></asp:Label></asp:Label>
                </td>
                <td style="text-align:left; white-space:nowrap; width:200px">
                    <ajaxToolkit:CascadingDropDown
                        ID="ajaxCascadingDistributeur"
                        Category="Distributeur" 
                        TargetControlID="dropDownListDistributeur"
                        ServiceMethod="mLoadCascadingDropDownDistributeur" 
                        ServicePath="../../ws/Distributeur.asmx"
                        SelectedValue="-1"   
                        runat="server" 
                        LoadingText="..."
                    /> 
                    <asp:DropDownList CssClass="select_base" ID="dropDownListDistributeur" runat="server"></asp:DropDownList>
                </td>
                <td style="text-align:right; white-space:nowrap; width:150px">
                    <asp:Label ID="lblMarque" runat="server" ></asp:Label></td>
                <td style="text-align:left; white-space:nowrap; width:200px">
                    <ajaxToolkit:CascadingDropDown
                        ID="ajaxCascadingMarque"
                        Category="Marque" 
                        TargetControlID="dropDownListMarque"
                        ParentControlID="dropDownListDistributeur"
                        ServiceMethod="mLoadCascadingDropDownMarqueByDistrib"
                        ServicePath="../../ws/Marque.asmx" 
                        SelectedValue="-1"   
                        runat="server" 
                        LoadingText="..."
                     /> 
                    <asp:DropDownList CssClass="select_base" ID="dropDownListMarque" width="200px" runat="server"></asp:DropDownList>
                </td>
                </tr>
            </table>
J'utilise Visual Studio 2005 avec le framework 3.5

J'ai ajouté comme référence à mon projet la dll AjaxControlToolKit V 3.0.30512.20315

Quelqu'un aurait-il une idée?