I have created a very simple C# skin object which is nothing more than a Hello Wordl.
When I tried to deploy it I went into the Module Definitions section on the host menu and then into the Skin Objects folder. I then used Add Control to add the control, selecting the source file and entering the key.
When I clicked update I received no error message but the new control did not appear on the menu, when I tried this a second time I got a message saying that there is already a control with the same key and source file. However as It is not listed I cannot delete it or do anything with it.
When I add the token to a skin just to see what happens the skin reports that the token cannot be found.
The ASP page looks like this:
<%
@ Control Language="C#" AutoEventWireup="false" CodeFile="InchMenuSkinObject.ascx.cs" Inherits="InchPebble.DotNetNuke.Menu.InchMenuSkinObject" %>
<
asp:Literal id="inchMenu" runat="server"></asp:Literal>
and the Page_Load method of the object behind is:
{
inchMenu.Text =
}
protected void Page_Load(object sender, EventArgs e)"Hello Mum";
Does anyone have any idea what is going on or where I can find out more information about the erorr that must be occurring under the covers.
Thanks