Solved

Ajax control tool kit 4.0 not registering in visual studio

Posted on 2011-03-08
2
822 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

26 Experts available now in Live!

Get 1:1 Help Now