FabriceB
01-27-2011, 07:19 PM
I've been attempting to complete a cascading dropdown using the AjaxControlToolkit available for .NET.
Most of the examples I seem to find are based on C# but what I am interested in is VB.
So far, I've come accross the following threads when googling for examples:
http://www.vbknowledgebase.com/?Id=104&Desc=JavaScript-Ajax-Cascading-Dropdown
http://forums.asp.net/t/1217087.aspx
http://www.vbdotnetforums.com/web-services/33681-how-do-cascadingdropdown.html
I've attempted to extract what ever I figured would be necessary in order to reproduce it for my page but get the following error:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 2: <%@ Import Namespace="System.IO" %>
Line 3: <%@ Page Culture ="en-US" UICulture ="en-US" Language="VB" Debug="true" EnableEventValidation="false" aspcompat="true" %>
Line 4: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Line 5: <%@ Register TagPrefix="UserControl" TagName="Header" Src="/common/asp/head.ascx" %>
Line 6: <%@ Register TagPrefix="UserControl" TagName="Footer" Src="/common/asp/foot.ascx" %>
Source File: /test/default2.aspx Line: 4
the toolkit dll is located in the same directory.
Any idea where i'm going wrong?
(Please let me know if it would be required of me to post the entire code in order to help resolve this issue)
Thanks in advance
Most of the examples I seem to find are based on C# but what I am interested in is VB.
So far, I've come accross the following threads when googling for examples:
http://www.vbknowledgebase.com/?Id=104&Desc=JavaScript-Ajax-Cascading-Dropdown
http://forums.asp.net/t/1217087.aspx
http://www.vbdotnetforums.com/web-services/33681-how-do-cascadingdropdown.html
I've attempted to extract what ever I figured would be necessary in order to reproduce it for my page but get the following error:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 2: <%@ Import Namespace="System.IO" %>
Line 3: <%@ Page Culture ="en-US" UICulture ="en-US" Language="VB" Debug="true" EnableEventValidation="false" aspcompat="true" %>
Line 4: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Line 5: <%@ Register TagPrefix="UserControl" TagName="Header" Src="/common/asp/head.ascx" %>
Line 6: <%@ Register TagPrefix="UserControl" TagName="Footer" Src="/common/asp/foot.ascx" %>
Source File: /test/default2.aspx Line: 4
the toolkit dll is located in the same directory.
Any idea where i'm going wrong?
(Please let me know if it would be required of me to post the entire code in order to help resolve this issue)
Thanks in advance