N
Nathan Sokalski
I am trying to start using the AjaxControlToolkit. I followed all the
instructions on the following page:
http://ajax.asp.net/ajaxtoolkit/Walkthrough/Setup.aspx
The only thing I did differently is I did not create my website from the
"ASP.NET AJAX Web Site" template, because my site already exists, and I
don't want to recreate the whole thing. I can see all the "AJAX Extensions"
and "AJAX Control Toolkit" controls listed in Visual Studio .NET 2005's
Toolbox. The specific control that I am working on using right now is the
ConfirmButtonExtender. I can put this control on my page and it does not
complain about it not being available, but when I run the page I recieve a
message saying I must have a ScriptManager. I assumed this meant the one
from the "AJAX Extensions". This is where the problem comes in. When I add a
ScriptManager, I recieve an error saying
Error 27 Type 'System.Web.UI.ScriptManager' is not defined
My code includes the following lines:
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI"
TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="cc1" %>
<asp:ScriptManager ID="ScriptManager1"
runat="server"></asp:ScriptManager>
<cc1:confirmbuttonextender id="ConfirmButtonExtender1" runat="server"
targetcontrolid="btnUnique"></cc1:confirmbuttonextender>
All of these lines were created automatically when I added the controls in
Design View (with the exception of the targetcontrolid="btnUnique"
attribute). The examples that were downloaded with the AJAX Control Toolkit
did not seem to help me much. I use VB.NET and Visual Studio .NET 2005 on
Windows XP Professional SP2 with Internet Explorer 6.0. I would appreciate
any help that anyone can give. Thanks.
instructions on the following page:
http://ajax.asp.net/ajaxtoolkit/Walkthrough/Setup.aspx
The only thing I did differently is I did not create my website from the
"ASP.NET AJAX Web Site" template, because my site already exists, and I
don't want to recreate the whole thing. I can see all the "AJAX Extensions"
and "AJAX Control Toolkit" controls listed in Visual Studio .NET 2005's
Toolbox. The specific control that I am working on using right now is the
ConfirmButtonExtender. I can put this control on my page and it does not
complain about it not being available, but when I run the page I recieve a
message saying I must have a ScriptManager. I assumed this meant the one
from the "AJAX Extensions". This is where the problem comes in. When I add a
ScriptManager, I recieve an error saying
Error 27 Type 'System.Web.UI.ScriptManager' is not defined
My code includes the following lines:
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI"
TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="cc1" %>
<asp:ScriptManager ID="ScriptManager1"
runat="server"></asp:ScriptManager>
<cc1:confirmbuttonextender id="ConfirmButtonExtender1" runat="server"
targetcontrolid="btnUnique"></cc1:confirmbuttonextender>
All of these lines were created automatically when I added the controls in
Design View (with the exception of the targetcontrolid="btnUnique"
attribute). The examples that were downloaded with the AJAX Control Toolkit
did not seem to help me much. I use VB.NET and Visual Studio .NET 2005 on
Windows XP Professional SP2 with Internet Explorer 6.0. I would appreciate
any help that anyone can give. Thanks.