Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 820801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:32:14+00:00 2026-05-15T02:32:14+00:00

I tried using AJAX Control for my first time after I installed the AJAX

  • 0

I tried using AJAX Control for my first time after I installed the AJAX Toolkit for ASP.NET. I created a new ASP.NET website and added the ConfirmButtonExtender.
After I run it without changing anything I get this error:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type ‘System.Web.UI.ExtenderControl’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

Source Error:

Line 16:         <br />
Line 17:         <asp:Label ID="Label1" runat="server" Text="Label" Width="229px"></asp:Label><br />
**Line 18:         <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server"** ConfirmText="are you sure"
Line 19:             TargetControlID="Button1">
Line 20:         </asp:ConfirmButtonExtender>

I tried connecting this Control with a button as I saw in a tutorial video or adding the ToolkitScriptManager but it gave me the same error.

Does anyone know how can I solve this error?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:32:15+00:00Added an answer on May 15, 2026 at 2:32 am

    The ConfirmButtonExtender is not under System.Web.Extensions.

    First you need to add a reference to your AjaxControlKit in your project.
    Then you can add the controls on your web config something like this:

    <pages>
      <controls>
        ....
        <add tagPrefix="act" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>
      </controls>
    </pages>
    

    Once you’ve done this the you can use your ajax control like in the following example:

    <act:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText="are you sure" 
    TargetControlID="Button1">
    </act:ConfirmButtonExtender>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using asp.net 3.5 with the ajax toolkit. The problem: I have a
i'm using AJAX to make a user control which contains a panel that contains
I have some processing that can take up to 5+ seconds the first time
I'm loading from DB some html (using ajax post request), it looks like: <div
I have a file upload on my .NET website. I used the FileUpload .NET
I'm using Telerik's Grid control from the MVC Extensions. I have it set up
After configuring the webservice-server to support CORS by adding Header set Access-Control-Allow-Origin * to
I tried to upload a file and display content of the file back to
I'm trying to detect change event for a select list as if from a
Stack is warning me this is a subjective question, and will likely be close,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.