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.0problem loading of the moduleproblem loading of the module
Previous
 
Next
New Post
3/12/2008 9:37 AM
 

Hello, I have a problem loading of the module is correctly load well it appears no problem but below it m'affiche errors.

Here's my code.


Private Sub Page_Load (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.MyDNNTabStrip.TabAlignment = System.Enum.Parse (GetType (DotNetNuke.UI.WebControls.Alignment), ddlTabAlignment.SelectedValue)
Me.MyDNNTabStrip.DefaultLabel.CssClass = "tablabel"
Me.MyDNNTabStrip.CssContentContainer = ""
Me.MyDNNTabStrip.CssTabContainer = ""
Me.MyDNNTabStrip.DefaultLabel.CssClassHover = "tablabel tablabelhover"
Me.MyDNNTabStrip.DefaultLabel.CssClassSelected = "tablabel tablabelselected"
Select Case DotNetNuke.UI.WebControls.Alignment.Top
Case DotNetNuke.UI.WebControls.Alignment.Top
Case DotNetNuke.UI.WebControls.Alignment.Left
Me.MyDNNTabStrip.DefaultLabel.CssClass & = "tablabel_v"
Me.MyDNNTabStrip.DefaultLabel.CssClassHover & = "tablabel_v"
Me.MyDNNTabStrip.DefaultLabel.CssClassSelected & = "tablabel_v"
Case DotNetNuke.UI.WebControls.Alignment.Right
Me.MyDNNTabStrip.DefaultLabel.CssClass & = "tablabel_v"
Me.MyDNNTabStrip.CssContentContainer = "tabcontentcontainer_r"
Me.MyDNNTabStrip.CssTabContainer = "tablabelcontainer_r"
Me.MyDNNTabStrip.DefaultLabel.CssClassHover & = "tablabel_v"
Me.MyDNNTabStrip.DefaultLabel.CssClassSelected & = "tablabel_v"
Case DotNetNuke.UI.WebControls.Alignment.Bottom
Select End
End Sub

And errors are displayed

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Module Error Adding to TopPane ---> System.Web.HttpException: You can only have one control on a page. System.Web.UI.HtmlControls.HtmlHead.OnInit at (EventArgs e) at System.Web.UI.Control.InitRecursive (Control namingContainer) at System.Web.UI.Control.InitRecursive (Control namingContainer) at System.Web.UI . Control.InitRecursive (Control namingContainer) at System.Web.UI.Control.InitRecursive (Control namingContainer) at System.Web.UI.Control.InitRecursive (Control namingContainer) at System.Web.UI.Control.AddedControl (Control control, Int32 index) at System.Web.UI.ControlCollection.Add (Control child) at DotNetNuke.UI.Skins.Skin.InjectModule (Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

Please help me

 
New Post
3/12/2008 2:44 PM
 

Can You post the code from your ascx page that loads the module.

I beleave the issue lies on that page not in the code you have posted

Mike

 
New Post
3/13/2008 3:56 AM
 
Here the code of my acsx that my load module. Thanks for your help. <%@ Control Language="VB" AutoEventWireup="False" CodeFile="TabStripAlignment.ascx.vb" Inherits="TabStripAlignment" %> <%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.WebControls" Assembly="DotNetNuke.WebControls" %> TabStripAlignment




Top Left Right Bottom

 
New Post
3/13/2008 8:10 AM
 
I succeeded thanks
 
New Post
3/13/2008 9:13 AM
 

Can you try to paste the code again.  I'm not seeing it

 

Thanks Mike

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0problem loading of the moduleproblem loading of the module


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