I am trying to make cascading dropdownlist.
now facing this issue : Unrecognized tag prefix or device filter cc1
below mentioned html coding.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication76.WebForm1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolKit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</cc1:ToolkitScriptManager>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
<Columns>
<asp:BoundField HeaderText="Name" DataField="ContactName" />
<asp:TemplateField HeaderText="Country">
<ItemTemplate>
<asp:DropDownList ID="ddlCountries" runat="server" Width = "150">
</asp:DropDownList>
<cc1:cascadingdropdown ID="cdlCountries" TargetControlID="ddlCountries" PromptText = "Select Country" PromptValue = ""
ServicePath = "ServiceCS.asmx" ServiceMethod="GetCountries"
runat="server" Category="Country" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="City">
<ItemTemplate>
<asp:DropDownList ID="ddlCities" runat="server" Width = "150">
</asp:DropDownList>
<cc1:cascadingdropdown ID = "cdlCities" TargetControlID="ddlCities" PromptText = "Select City" PromptValue = ""
ServicePath = "ServiceCS.asmx" ServiceMethod="GetCities" runat="server"
Category="City" ParentControlID = "ddlCountries" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</form>
</body>
</html>