Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problems importing skin objectProblems importing skin object
Previous
 
Next
New Post
10/31/2006 3:58 AM
 

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


Best regards Lars Kohsel Valtech A/S. www.valtech.dk
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problems importing skin objectProblems importing skin object


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out