Hi
I have created a skin object that I can import and use without problems if I include the codebeside files. However, when I replace the code beside files with the dll file created using the instructions of scenario #2 in the "DotNetNuke 4.3 Starter Kit and Item Templates" article by Shaun Walker I get an error when the LoadControl is called. The DNN looks like:
<?xml version="1.0" encoding="utf-8" ?>
<dotnetnuke version="4.0" type="SkinObject">
<folders>
<folder>
<name>ServiceMenu</name>
<version>00.01.00</version>
<modules>
<module>
<friendlyname>ServiceMenu</friendlyname>
<controls>
<control>
<key>SERVICEMENU</key>
<src>ServiceMenu.ascx</src>
<type>SkinObject</type>
</control>
</controls>
</module>
</modules>
<files>
<file>
<name>ServiceMenu.ascx</name>
</file>
<file>
<name>App_Web_servicemenu.ascx.9380a77a.dll</name>
</file>
</files>
</folder>
</folders>
</dotnetnuke>
and the usercontrol looks like:
<%@ Control Language="VB" AutoEventWireup="false" Inherits="DotNetNuke.Modules.SkinObjects.ServiceMenu, App_Web_servicemenu.ascx.9380a77a" %>
<asp:Label ID="lblServiceMenu" runat="server"></asp:Label>
I have checked and the dll-file is being placed under /bin and there are no error-messages when importing the module or when parsing the skin refering to the skin object.
Any pointers ?
Regards
Lars Kohsel