P
Petr PALAS
Hi,
I'm trying to create a server control (in namespace and library
Kentico.CMS.CMSControls) for ASP.NET 1.1 that has a property of type
GeneralConnection. This type is defined in another library
("Kentico.CMS.DataEngine.dll") and namespace ("Kentico.CMS.DataEngine").
When I drag and drop the control on the Web form, I get the following error
message:
Error Creating Control
Parse Error: File or assembly name X, or one of its dependencies, was not
found.
The Kentico.CMS.DataEngine.dll libary is referenced in my project and the
page contains the TagPrefix directive for the control itself.
When I add the following additional directive to the ASPX page, everything
works fine:
<%@ Register TagPrefix="cc2" Namespace="Kentico.CMS.DataEngine"
Assembly="Kentico.CMS.DataEngine.dll" %>
However, is there any simple solution, so that the developer doesn't have to
add the additional TagPrefix directive?
Thank you.
Best Regards,
Petr Palas
****************************************************************************
****
Kentico Software
WWW: http://www.kentico.com
Blog: http://www.kentico.com/blog
Kentico CMS - The most affordable CMS for ASP.NET professionals. Sign up for
beta NOW!
****************************************************************************
****
I'm trying to create a server control (in namespace and library
Kentico.CMS.CMSControls) for ASP.NET 1.1 that has a property of type
GeneralConnection. This type is defined in another library
("Kentico.CMS.DataEngine.dll") and namespace ("Kentico.CMS.DataEngine").
When I drag and drop the control on the Web form, I get the following error
message:
Error Creating Control
Parse Error: File or assembly name X, or one of its dependencies, was not
found.
The Kentico.CMS.DataEngine.dll libary is referenced in my project and the
page contains the TagPrefix directive for the control itself.
When I add the following additional directive to the ASPX page, everything
works fine:
<%@ Register TagPrefix="cc2" Namespace="Kentico.CMS.DataEngine"
Assembly="Kentico.CMS.DataEngine.dll" %>
However, is there any simple solution, so that the developer doesn't have to
add the additional TagPrefix directive?
Thank you.
Best Regards,
Petr Palas
****************************************************************************
****
Kentico Software
WWW: http://www.kentico.com
Blog: http://www.kentico.com/blog
Kentico CMS - The most affordable CMS for ASP.NET professionals. Sign up for
beta NOW!
****************************************************************************
****