[thelist] ScriptManager & AjaxToolkit
Arthur Maloney
ArthurM at seipas.com
Tue Jan 22 12:18:54 CST 2008
Hello thelist,
I'm using Visual Studio 2008 Fresh to me today
(V 9.0.21022.8 RTM .Net framework 3.5)
and AjaxToolkit (Learning it)
I've got AjaxControlToolkit.dll in the bin
The error refers to ScriptManager but its in the Page??
Error:
ConfirmButtonExtender1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
test1.aspx
<%@ Page Language="C#" CodeFile="test1.aspx.cs" Inherits="aspx_test1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>
<br />
<ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server"
ConfirmText="Are you Sure?"
TargetControlId="LinkButton1" />
</div>
</form>
</body>
</html>
--
Best regards,
Arthur mailto:ArthurM at seipas.com
More information about the thelist
mailing list