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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error: The ID Error: The ID 'ContentPane' is already used by another control.
Previous
 
Next
New Post
9/26/2006 4:36 PM
 
There must be one, and ony one pane named "contentpane" in your skin page.  You'll need to re-name "MainPane" to "ContentPane".
 
New Post
9/27/2006 2:26 AM
 

I generally see this error when I duplicate a content pane and forget to change the ID to something unique. Just make sure you have one "contentpane" ID.

TW


Tracy Wittenkeller
 
New Post
9/27/2006 5:58 PM
 
Dump the references to [CONTENTPANE:1] and [CONTENTPANE:2] from your xml file.
then change  this part of your skin file to match what I hae put in below.

<tr>
        <td width="172" valign="top" class="mainNav" id="leftpane" runat-"server"></td>
        <td valign="top" class="contentFrame" id="contentpane" runat="server"></td>
    </tr>
    <tr id="footerFrame">
        <td colspan="2">Copyright message...</td>
    </tr>
 
New Post
9/28/2006 2:01 PM
 

I'm using DotNetNuke 4.3.5 and have the same problem with multiple instances of the [CONTENTPANE] skin object.

I'm trying this in the skin.htm file:
<td id="ContentPane">[CONTENTPANE]</td>
<td id="pane1">[CONTENTPANE:1]</td>
<td id="pane2">[CONTENTPANE:2]</td>

and the skin.xml file:
..
<name>id</name>
<value>pane1</value>
..

After parsing this is what you find in the skin.ascx file:
<div runat="server" id="ContentPane"></div>
<div runat="server" id="ContentPane"></div>
<div runat="server" id="ContentPane"></div>

So the parsing engine doesn't care about the different id's, it just call everything "ContentPane", and because of that you get the error message.
I just can't get the [CONTENTPANE] object to work. I've looked into one of the standard skin files and found that the [CONTENTPANE] object isn't used at all, there are only 5 standard id's (TopPane, LeftPane, RightPane, ContentPane and BottomPane). So I'm solving my problem by always using these id's:
<td id="ContentPane"></td> (required)
<td id="LeftPane"></td>
<td id="RightPane"></td>

I don't care where the panes are located ("ContentPane" should be the main pane), I just use the names.

Is this a problem with 4.3.5 or with my brain?

/Stigbjörn

 
New Post
9/29/2006 10:44 PM
 
You do not HAVE to use "leftpane", "rightpane" etc. The only one that you DO have to have is one called "Contentpane".  I have designed skins that work using other names like "pane_01", "pane_02" etc and they work just fine. 

In the skin you would have something like this
<div id="pane_01" class ="thisreallyneatclass" runat="server"></div>
or if you are using tables
<td id="pane_02" class ="thisreallyneatclass" runat="server"></td>

or

<td>
<div id="pane_03" class ="coolclass" runat="server"></div>
</td>

Any of these will work

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error: The ID Error: The ID 'ContentPane' is already used by another control.


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