Unknown server tag cc1: ToolkitScriptManager RRS feed

  • Question

  • User2019224730 posted

    I am using ajaxcontrols and in that all controls are working well But I had not found any of the control named as `ToolkitScriptManager` so I had just copied this tag in .html page.

    What shall I do?
    The version of framework in hosting server is 2.

    My Web.config file is:

    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" TagPrefix="cc1"/>
            <bindingRedirect oldVersion="" newVersion="1.0.61025.0"/>

    Aspx page:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CS.aspx.cs" Inherits="CS" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
    <!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">
    <style type="text/css">
    background-image: url(images/Star.gif);
    height: 17px;
    width: 17px;
    background-image: url(images/WaitingStar.gif);
    height: 17px;
    width: 17px;
    background-image: url(images/FilledStar.gif);
    height: 17px;
    width: 17px;
    <form id="form1" runat="server">
    <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    <cc1:Rating ID="Rating1" AutoPostBack="true" OnChanged="OnRatingChanged" runat="server"
    StarCssClass="Star" WaitingStarCssClass="WaitingStar" EmptyStarCssClass="Star"
    <br />
    <asp:Label ID="lblRatingStatus" runat="server" Text=""></asp:Label>

    Saturday, April 5, 2014 5:02 PM


  • User-1360095595 posted

    Your tagprefix is ajaxToolkit. The error is reporting cc1. You need to replace cc1 with ajaxToolkit.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 6, 2014 12:13 AM