Unknown server tag 'ajaxToolkit:ScriptManager'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please help. I am getting the following error when I attempt to use AJAX in
a web page.

<%@ Page Language="C#" MasterPageFile="~/Master/Master1.master"
AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="MyApp_Default"
Title="Space" %>

<%@ Register TagPrefix="ajaxToolkit" Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">

<ajaxToolkit:ScriptManager runat="Server" />

<table ...>
 
thejackofall,
This is because the ScriptManager control is not part of the Ajax Toolkit.

The syntax should be like the following:
<asp:ScriptManager ID="ScriptManager1" runat="server" />
 
Back
Top