Solved

Ajax control tool kit 4.0 not registering in visual studio

Posted on 2011-03-08
2
817 Views
Last Modified: 2012-05-11
I tried downloading and installing the latest Ajax toolkit for Visual Studio 2010.

I have tried almost everything I have found but nothing seems to get me past the fact that just after implementation of a scriptmanager, I cannot implement an updatepanel.

I receive the error:

Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.      

I also tried using the newer ajaxToolKit:ToolkitScriptManager instead of the scriptmanager.
It will compile however, I receive the following runtime error:
Parser Error Message: Type 'AjaxControlToolkit.ToolkitScriptManager' does not have a public property named 'UpdatePanel'.

All pages contain the following reference:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolKit" %>

Thanks for the assistance.
This code fails compilation:
<asp:ScriptManager ID="ScriptManager1" runat="server">
      <asp:UpdatePanel ID="test" runat="server">
             <ContentTemplate>
                <input id="Text1" type="text" />
              </ContentTemplate>
      </asp:UpdatePanel>
</asp:ScriptManager>

Runtime failure from this code:

<ajaxToolKit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
   <asp:UpdatePanel ID="test2" runat="server">
        <ContentTemplate>
             <input id="Text2" type="text" />
         </ContentTemplate>
    </asp:UpdatePanel>
</ajaxToolKit:ToolkitScriptManager>

Open in new window

partialwebconfig.txt
0
Comment
Question by:ODOTServer
2 Comments
 
LVL 33

Accepted Solution

by:
Todd Gerbert earned 250 total points
ID: 35074605
Nothing goes inside the script manager tags.

<ajaxToolKit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajaxToolKit:ToolkitScriptManager> 

<asp:UpdatePanel ID="test2" runat="server">
    <ContentTemplate>
         <input id="Text2" type="text" />
     </ContentTemplate>
</asp:UpdatePanel>

Open in new window

0
 

Author Closing Comment

by:ODOTServer
ID: 35075800
Thanks very much.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now