?
Solved

Ajax control tool kit 4.0 not registering in visual studio

Posted on 2011-03-08
2
Medium Priority
?
829 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
Todd Gerbert earned 1000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

719 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