Solved

Ajax control tool kit 4.0 not registering in visual studio

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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