1

I downloaded the AJAX ControlTool kit and installed it but it doesn't display in my bin folder in my project. An error displays in the local when I run the project.

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

Can anyone please help me? Thanks!

1
  • Could you please add more info about this problem? What error appears? Commented Jun 6, 2015 at 19:22

2 Answers 2

2

Find the location where AjaxControlToolkit is installed and under References, choose "Add a Reference" and select the AjaxControlToolkit.dll.

Once you do that and build the project the error should be gone. Assuming the reference is added with Copy Local is true it will also appear in your bin folder, so when deploying the contents of bin to any server it will still work and no special installation is necessary for AjaxControlToolkit.

In addition you might not want todo this on every Page or UserControl, so maybe better to register it in the web.config once (use a better prefix "ajax" instead of "cc1"):

<configuration>
  <system.web>
      <pages>
        <controls>
          <add tagPrefix="ajax" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
        </controls>      
      </pages>
    </system.web>
</configuration>
Sign up to request clarification or add additional context in comments.

Comments

0

You can use .Net Fusion to find which assembly could not be loaded.

How to enable assembly bind failure logging (Fusion) in .NET

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.