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.0Help tp create alternate dnn menuHelp tp create alternate dnn menu
Previous
 
Next
New Post
10/14/2008 11:25 AM
 

Thanks for your reply admlange.

here is my source .ascx file

I call the control file from admin/skin folder. when i run this source i didn't get any error. When I Convert PA i got the above error. 

 

 <%@ Control language="vb" Inherits="YourCompany.Modules.PageMenu.ViewPageMenu" CodeFile="ViewPageMenu.ascx.vb" AutoEventWireup="false" Explicit="True" %>
<%@ Register Src="../../admin/Skins/nav.ascx" TagName="nav" TagPrefix="dnn" %>

<dnn:nav ID="SiteNav" runat="server" ProviderName="DNNMenuNavigationProvider" 
  CSSControl="main_dnnmenu_bar" 
  CSSContainerRoot="main_dnnmenu_container" 
  CSSNode="main_dnnmenu_item" 
  CSSNodeRoot="main_dnnmenu_rootitem"  
  CSSBreak="main_dnnmenu_break" 
  CSSNodeHover="main_dnnmenu_itemhover"  
  ControlOrientation="horizontal"
  IndicateChildren="false"
  NodeLeftHTMLSub="&nbsp;&nbsp;"
  NodeRightHTMLSub="&nbsp;&nbsp;">
  </dnn:nav>
 

 

Code behind is as follows:

Dim menuOrientaion As String="Horizontal"

Dim CusAt As DotNetNuke.UI.Skins.CustomAttribute
  CusAt = New DotNetNuke.UI.Skins.CustomAttribute
  CusAt.Name = "submenuorientation"
  CusAt.Value = menuOrientaion
  SiteNav.CustomAttributes.Add(CusAt)

Thanks for again admlange your reply.

 


Thirunavukkarasu
 
New Post
10/16/2008 4:08 AM
 

Hi KThiru,

 

The only strange thing i see is the ../../ in your src asttribute. I would probably use ~/ in stead. I searched a bit and found this post.

http://forums.crystaltech.com/index.php?PHPSESSID=sqclmtmqj4dslodeubh7pku8m1&topic=28376.0

Maybe this can help.

Let me know

Alexander

 
New Post
10/16/2008 11:46 AM
 

  Thanks for this admlange,

I had workout your idea but no luck. I think we have the problem from control we called. actually we are using the controls like label, url are already converted PA from DotNetNuke. But the "admin/Skins" folder contain source only. so we will use these controls and converted PA packages and installed, the website contain the dll and source on the skins folder. this may be give error i thing.

 

Thiru



 


Thirunavukkarasu
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Help tp create alternate dnn menuHelp tp create alternate dnn menu


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