user3049495
user3049495

Reputation: 13

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies... The system cannot find the file specified

I am getting an error on my ASPX file after register control toolkit then also not access <cc1:........>.

Here is my code:

<%@ Page Language="C#" AutoEventWireup="true"
     CodeFile="DropdownlistCSC.aspx.cs" Inherits="DropdownlistCSC" %> 
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html>

This is the error I am getting:

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

Upvotes: 0

Views: 9443

Answers (2)

Pankil Agrawal
Pankil Agrawal

Reputation: 75

This may happen because all of your ajax DLLs are not in the bin folder. AjaxControlToolkit.dll, AjaxMin.dll must be in the bin folder.

Upvotes: 0

Leo
Leo

Reputation: 14820

Make sure you have referenced the Ajax Control tool kit in your project. It should go to your bin folder

Upvotes: 1

Related Questions