473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

DNN skin upload problem

Hello there,

I got a problem when I was uploading the skin I developed.

Following is the code from my original skin template (skin.htm):

<TABLE cellspacing="3" cellpadding="3" width="100%"
border="0">
<TR>
<TD class="toppane" colspan="3" valign="top"
align="center">[CONTENTPANE:3]</TD>
</TR>
<TR valign="top">
<TD class="leftpane" valign="top"
align="center">[CONTENTPANE:1]</TD>
<TD class="contentpane" valign="top"
align="center">[CONTENTPANE]</TD>
<TD class="rightpane" valign="top"
align="center">[CONTENTPANE:2]</TD>
</TR>
<TR>
<TD class="bottompane" colspan="3" valign="top"
align="center">[CONTENTPANE:4]</TD>
</TR>
</TABLE>
Here is error message: "could not load skin:
/portals/_default/Skins/AAWP/skin.ascx error: ID "contentpane" is
already used by another control."

Then I open the skin.ascx file, and here is some code from that file:

<TABLE cellspacing="3" cellpadding="3" width="100%"
border="0">
<TR>
<TD class="toppane" colspan="3" valign="top"
align="center" runat="server" id="contentpane"></TD>
</TR>
<TR valign="top">
<TD class="leftpane" valign="top" align="center"
runat="server" id="contentpane"></TD>
<TD class="contentpane" valign="top" align="center"
runat="server" id="ContentPane"></TD>
<TD class="rightpane" valign="top" align="center"
runat="server" id="contentpane"></TD>
</TR>
<TR>
<TD class="bottompane" colspan="3" valign="top"
align="center" runat="server" id="contentpane"></TD>
</TR>
</TABLE>

Obviously the skin uploader has converted CONTENTPANE, CONTENTPANE:1,
CONTENTPANE:2, CONTENTPANE:3 and CONTENTPANE:4 all into
id="contentpane", which caused the error.

So then I have to manually changed the skin.ascx file to make the skin
working.

Here is the code I changed inside the skin.ascx file:

<TABLE cellspacing="3" cellpadding="3" width="100%"
border="0">
<TR>
<TD class="toppane" colspan="3" valign="top"
align="center" runat="server" id="TopPane"></TD>
</TR>
<TR valign="top">
<TD class="leftpane" valign="top" align="center"
runat="server" id="LeftPane"></TD>
<TD class="contentpane" valign="top" align="center"
runat="server" id="ContentPane"></TD>
<TD class="rightpane" valign="top" align="center"
runat="server" id="RightPane"></TD>
</TR>
<TR>
<TD class="bottompane" colspan="3" valign="top"
align="center" runat="server" id="BottomPane"></TD>
</TR>
</TABLE>

Can anyone tell me what the cause of the error? I strictly followed the
DNN skin user manual. Why do I have to manually change the skin.ascx
file to make it work?

Thanks a lot!

Dec 27 '05 #1
0 2197

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark Dufour | last post by:
Hi all, I have just released Shed Skin 0.0.5. It fixes many bugs and adds many minor features to the Python builtins, most notably, the 'set' class. There have also been some optimizations on...
7
by: Frédéric Mayot | last post by:
Hi I'm trying to define a skin for a custom control. I can't see how to do it... My custom control inherits from a TextBox but it doesn't recognize the skinID defined for asp:TextBox. Any idea ?...
1
by: Andre | last post by:
Hi, I'm using Visual Web Developer 2005 to create a .skin file. But i have a problem (i think) ;o) When editing my skin file, in the toolbox, i can only drag HTML controls.. the Server...
1
by: Frédéric Mayot | last post by:
Hi, I'm trying to apply skins to all my controls. I didn't want to specify a skin all the time, so I used a default skin. The problem is that I sometimes would like to override a property...
1
by: Alan Silver | last post by:
Hello, I am just converting a 1.1 web site to use version 2.0 of the framework and have run into a weird problem trying to add a skin file. I set up a theme, and moved the CSS file in there,...
2
by: shapper | last post by:
Hello, I created an Asp.Net 2.0 which contains a custom control. I compiled the project and now I am using it in a web site. The custom control contains a Panel, a Label and an Image. ...
1
by: robert112 | last post by:
Hi all, I have followed the instructions from here: http://www.dotnetnuke.com/About/DotNetNukeOnlineHelp/tabid/787/TID/1323/cid/93/Default.aspx to upload my shiny new skin. The problem is I do...
31
by: Mark Dufour | last post by:
Hi all, I have recently released version 0.0.20 and 0.0.21 of Shed Skin, an optimizing Python-to-C++ compiler. Shed Skin allows for translation of pure (unmodified), implicitly statically typed...
8
by: scotty | last post by:
Can a .skin file be created without visual studio? Thanks, Scott
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.