Home Search Member List Faq Register Login  
UltimateMenu
Directory path added when i click the Submenu items

Thread Starter: im_gauravgoyal   Started: 11-18-2010 6:19 AM   Replies: 1
 Karamasoft Support Forums » General Discussions » UltimateMenu » Directory path added when i click the Submenu items
 Printable Version    « Previous Thread   Next Thread »
  18 Nov 2010, 6:19 AM
im_gauravgoyal is not online. Last active: 11/24/2010 1:58:52 AM im_gauravgoyal

Not Ranked
Joined on 11-17-2010
Posts 3
 Directory path added when i click the Submenu items
This is my xml file

<?xml version="1.0" encoding="utf-8"?>

<Menu ImagePath="/Ent.UI/images" ScriptPath="/Ent.UI/JScript" CssFile="/Ent.UI/CSS/HorizontalFrame.css" Layout="Horizontal" MenuCssClass="HFMenu" MenuItemCssClass="HFItem" MenuItemOverCssClass="HFItemOver" DefaultGroupCssClass="HFGroup" DefaultOffsetX="-2" DefaultOffsetY="-2" DefaultItemCssClass="HFItem" DefaultItemOverCssClass="HFItemOver" TargetFrame="Content" SourceFrame="Header">
<
Group
>
<
Item ID="Home" Target="Content" ItemWidth="55" ItemHeight="10" Caption="Home" URL="Default.aspx"></Item
>
<
Item ID="NetworkManager" Target="Content" ItemWidth="120" ItemHeight="10" Caption="Network Manager"
>
<
Group
>
<
Item ID="NetMgrItem1" Caption="Add Parent Hierarchy" ItemHeight="20" ItemWidth="150" PostBackValue="1" URL="Managers/NetworkManager/ParentHirarchy.aspx?key=Other" Target="Content"></Item
>
<
Item ID="NetMgrItem2" Caption="Add Substation" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="NetMgrItem3" Caption="Add Feeder" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="NetMgrItem4" Caption="View Network Detail" ItemHeight="20" ItemWidth="150"></Item
>
</
Group
>
</
Item
>
<
Item ID="DataCollectionManager" ItemWidth="165" ItemHeight="10" Caption="Data Collection Manager"
>
<
Group
>
<
Item ID="DataCollMgrItem1" Caption="Real Time Data" ItemHeight="20" ItemWidth="150" PostBackValue="2" URL="Managers/DataCollectionManager/RealTimeData.aspx?NodeId=1" Target="Content"></Item
>
</
Group
>
</
Item
>
<
Item ID="ConfigurationManager" Target="Content" ItemWidth="165" ItemHeight="10" Caption="Configuration Manager"
>
<
Group
>
<
Item ID="ConMgrItem1" Caption="DCU Settings" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="ConMgrItem2" Caption="IO Configuration" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="ConMgrItem3" Caption="Meter Settings" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="ConMgrItem4" Caption="Meter Template" ItemHeight="20" ItemWidth="150"></Item
>
</
Group
>
</
Item
>
<
Item ID="SecurityManager" Target="Content" ItemWidth="120" ItemHeight="10" Caption="Security Manager"
>
<
Group
>
<
Item ID="SecMgrItem1" Caption="Add Activity" URL="Managers/SecurityManager/Activities.aspx" Target="Content" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="SecMgrItem2" Caption="Add User" URL="Managers/SecurityManager/Users.aspx" Target="Content" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="SecMgrItem3" Caption="User Access Information" URL="Managers/SecurityManager/UserAccess.aspx" Target="Content" ItemHeight="20" ItemWidth="150"></Item
>
<
Item ID="SecMgrItem4" Caption="Enable Substation" URL="Managers/SecurityManager/SubstationAccess.aspx" Target="Content" ItemHeight="20" ItemWidth="150"></Item
>
</
Group
>
</
Item
>
</
Group
>
</
Menu
>

And when i click on SubMenu Item the error return as
 

Server Error in '/Ent.UI' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Ent.UI/Managers/DataCollectionManager/Managers/NetworkManager/ParentHirarchy.aspx


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

Means the Path is added when i click one to another URL..

Please help me.. Sad


  
  18 Nov 2010, 10:59 AM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: Directory path added when i click the Submenu items
You should try setting the URL attribute values to absolute paths (starting with "/"). By looking at the error message, we assume that they should be something like the following:

URL="/Ent.UI/Managers/DataCollectionManager/Managers/SecurityManager/SubstationAccess.aspx"

  
 Page 1 of 1 (2 items)
Karamasoft Support Forums » General Discussions » UltimateMenu » Directory path added when i click the Submenu items

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.