Welcome Guest Search | Active Topics | Sign In | Register

CustomItemInstance.FindControl ? Options
Ram
Posted: Tuesday, July 31, 2007 7:52:38 AM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
Hi EO,

I have to generate dynamcially NavigateURL based on company name in SlideMenu.

Here is slidemenu structure

Manuals
Internal Manuals
Local Manuals
Office Manuals
Section1-Introduction (NavigateURL link)



Question:

In the code behind file I am trying to set NavigateURL of SlideMenu4.

I used below code to get collections of SlideMenu4 object.
Dim slideMenu4 As EO.Web.SlideMenu = CType(Me.SlideMenu2.Items(0).SubMenu.Items(0).CustomItemInstance.FindControl("SlideMenu4"), EO.Web.SlideMenu)

If I use the above its throwing error:

It will be great if you could help me on this.


Below is the sample code:

<eo:SlideMenu ID="SlideMenu1">
<Items>
<eo:MenuItem Text-Html="Manuals" Expanded="true">
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem CustomItemID="CustomItem1">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</eo:SlideMenu>

<eo:CustomItem ID="CustomItem1" runat="server" >
<eo:SlideMenu ID="SlideMenu2">
<Items>
<eo:MenuItem Text-Html="InternalManuals" Expanded="true">
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu3" runat="server">
<Items> <eo:MenuItem Text-Html="Local Manual" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu4" runat="server">
<Items>


<eo:MenuItem Text-Html="Office Manual" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem Text-Html="Section 1 - Introduction" NavigateURL=””>
</eo:MenuItem>
</ Items>
</eo:SlideMenu>
</CustomItem>
</eo:MenuItem>

</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</eo:SlideMenu>
</CustomItem>

</eo:MenuItem>
</Items>


thanks,
Ram.
eo_support
Posted: Tuesday, July 31, 2007 8:00:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

CustomItemInstance is only available during data binding. If you put it statically in your page, you can just use it directly:

CustomItem1.FindControl("SlideMenu2");

In fact in your case you don't need to use FindControl at all. You can just use:

SlideMenu2.Items(0).NavigateUrl = something

Thanks
Ram
Posted: Tuesday, July 31, 2007 8:16:00 AM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
Thanks for quick reply.

I used the following code:

Dim slideMenu4 As EO.Web.SlideMenu = CustomItem1.FindControl("SlideMenu4")

Still it return nothing.

Since I have to bind NavigateURL on SlideMenu4 level NOT on SlideMenu2 or SlideMenu3 level
(bcoz its drill down

Manuals (SlideMenu1)
Internal Manuals (SlideMenu2)
Local Manuals (SlideMenu3)
Office Manuals (SlideMenu4)
Section1-Introduction ( here I have to bind NavigateURL)

If I use CustomItem1.FindControl("SlideMenu2") collection is returning

If I use CustomItem1.FindControl("SlideMenu3") then it return nothing.

thanks,
Ram.
eo_support
Posted: Tuesday, July 31, 2007 8:20:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

You are confusing a menu item and a menu. While a menu is a control, a menu item is not. So you can not use FindControl to find it. In order to find a menu item, you need to first get the menu, then use one of the following ways to find the menu item:

1. By index as I shown in my previous post;

2. Call FindItem/SearchItems. Note FindItem works on item Path, not ID.

Thanks
Ram
Posted: Wednesday, August 1, 2007 1:37:47 PM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
I am sorry bother you again.

I am trying to use

Me.SlideMenu2.Items(0).SubMenu.Items(0).CustomItem.

to get collection of SlideMenu2

<CustomItem>

<eo:SlideMenu ID="SlideMenu3" >

<Items>

<SubMenu>

<Items>

<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu4">
</eo:SlideMenu>
</CustomItem>
</eo:MenuItem>

<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu5">
</eo:SlideMenu>
</CustomItem>
</eo:MenuItem>

</Items>

</eo:SlideMenu>

</CustomItem>

still no result for me. I am not sure am I using right method or missing something when I use customItem.

It will be great if you could help me on this.


thanks,
Ram.
eo_support
Posted: Wednesday, August 1, 2007 1:48:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

No. That's incorrect. You made two mistakes:

1. You should never access CustomItem property directly. That property is for ASP.NET compiler. If you need to access the content of CustomItem, you would need to use CustomItemInstance. However remember this property is only available during data binding. If you access it from anywhere else you will get a null value (Nothing in Visual Basic);

2. While visually you nested SlideMenu4 into SlideMenu2, it does not make SlideMenu4 as a child menu item of SlideMenu2. SlideMenu4 and SlideMenu2 are still two separate menus. If you need to access an item in SlideMenu2, you start with SlideMenu2, if you need to access an item in SlideMenu4, you start with SlideMenu4;

Thanks
Ram
Posted: Wednesday, August 1, 2007 2:16:18 PM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
I understand about CustomItem. Thanks.

But I am not able to access SlideMenu4.

If I type Me. in visual basic it shows only SlideMenu2 not SlideMenu3 or SlideMenu4.

Basically I have to access SlideMenu4 and then bind my navigateURL string.

In Order to slideMenu4 items I have to get slideMenu2 and slideMenu3 (since slideMenu4 is a child of SlideMenu3 and Slidemenu3 is a child of SlideMenu2)

I unable to access directly Me.SlideMenu4........

So thats reason I was trying to use first SlideMenu2 and then SlideMenu3.


Me.SlideMenu2.Items(0).SubMenu.Items(0).CustomItemInstance

Is anything with am I doing wrong when I creating menu? I can't use many CustomItem inside slideMenu? If thats case please let me know alternate way to build these menus.
eo_support
Posted: Wednesday, August 1, 2007 2:46:38 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

The first segment of code in your first post is correct:

Code: HTML/ASPX
<eo:SlideMenu ID="SlideMenu1" runat="server">
    <TopGroup>
        <Items>
            <eo:MenuItem Text-Html="Manuals" Expanded="true">
                <SubMenu ExpandEffect-Type="GlideTopToBottom">
                    <Items>
                        <eo:MenuItem CustomItemID="CustomItem1">
                        </eo:MenuItem>
                    </Items>
                </SubMenu>
            </eo:MenuItem>
        </Items>
    </TopGroup>
</eo:SlideMenu>
<eo:CustomItem ID="CustomItem1" runat="server">
    <eo:SlideMenu ID="SlideMenu2" runat="server">
    </eo:SlideMenu>
</eo:CustomItem>


The key at here is:
1. CustomItem is not embedded in a menu item. It is directly placed on the form;
2. It is linked to SlideMenu1 via CustomItemID property;

When you use it this way, you should be able to see both SlideMenu1 and SlideMenu2. Embedding CustomItem directly inside a menu item is for data binding, which is not your case.

Thanks
Ram
Posted: Thursday, August 2, 2007 7:45:40 AM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
I am sorry. Probably I didn't post my fully working version of code:

Here it is:

I am trying bind NavigateURL at SlideMenu4 level.

I am trying to get Me.SlideMenu4.Item(0).NavigateURL="xxxxxxxxxxx" but currently I am able to get Me.SlideMenu1.SubMenu.items(0).Submenu.items(0)......

I hope this will help you to figure out very quickly.

Please let me know if this is not the right way to do this:

<eo:SlideMenu ID="SlideMenu1" runat="server" ControlSkinID="None" SlidePaneHeight="130"
Style="width:320px;" SingleExpand="False" AutoSelectSource="NavigateUrlExact"
SaveStateCrossPages="True" RaisesServerEvent="True">
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="13"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="19"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
NormalStyle-CssText="color:#215DC6;">
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="&#160;&#160;Manuals Level 1" Expanded="true">
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem CustomItemID="CustomItem1">
</eo:MenuItem>
<eo:MenuItem CustomItemID="CustomItem2">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
<eo:CustomItem ID="CustomItem1" runat="server" >
<eo:SlideMenu ID="SlideMenu2" runat="server"
ControlSkinID="None"
SingleExpand="False"
AutoSelectSource="NavigateUrlExact"
RaisesServerEvent="True" SaveStateCrossPages="True" ClientSideOnItemClick="slidemenu_itemclick" >
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
NormalStyle-CssText="color:#215DC6;">
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="Manuals Level 2">
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu3" runat="server"
ControlSkinID="None"
SingleExpand="False"
AutoSelectSource="NavigateUrlExact"
RaisesServerEvent="True" SaveStateCrossPages="True" ClientSideOnItemClick="slidemenu_itemclick" >
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none"
ItemID="_Default"
NormalStyle-CssText="color:#215DC6;"
>
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="Manuals Level 3" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu4" runat="server"
ControlSkinID="None"
SingleExpand="False"
AutoSelectSource="NavigateUrlExact"
RaisesServerEvent="True">
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
NormalStyle-CssText="color:#215DC6;">
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="Manuals Level 4" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem Text-Html="Section 1 - Introduction" NavigateUrl="PDF/Hudson/Procedures Manuals/Interal Manuals/HSE/Section1-Introduction.pdf" TargetWindow="_blank" NormalStyle-CssText="TEXT-DECORATION: none;" >
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
</CustomItem>
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
</CustomItem>
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
</eo:CustomItem>
eo_support
Posted: Thursday, August 2, 2007 8:05:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

Please read my previous post. I believe I have already answered your question there. You can start from the sample code I posted and then gradually expand it to cover your need.

Thanks
Ram
Posted: Monday, August 6, 2007 11:32:39 AM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
I have gone thro' your all answers by my questions.


You mentioned that (from Posted: Wednesday, August 01, 2007 9:48:45 PM)
"2. While visually you nested SlideMenu4 into SlideMenu2, it does not make SlideMenu4 as a child menu item of SlideMenu2. SlideMenu4 and SlideMenu2 are still two separate menus. If you need to access an item in SlideMenu2, you start with SlideMenu2, if you need to access an item in SlideMenu4, you start with SlideMenu4;"

SlideMenu2 and SlideMenu4 are two separate menus.

You mentioned that I can access directly Me.SlideMenu4.......

The BIG PROBLEM is I am not able to access Me.SlideMenu4 in code behind of vb. (DO NOT KNOW WHY? Do I need install anything additional?)

I am able to access only Me.SlideMenu2.

I do not know how to change NavigateURL dynamically.

It will be great if you could help me on this.

Thanks in Advance.
eo_support
Posted: Monday, August 6, 2007 11:47:40 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

This post already pointed out why:

Quote:
The key at here is:
1. CustomItem is not embedded in a menu item. It is directly placed on the form;
2. It is linked to SlideMenu1 via CustomItemID property;

When you use it this way, you should be able to see both SlideMenu1 and SlideMenu2. Embedding CustomItem directly inside a menu item is for data binding, which is not your case.


The post also gave you a sample that works. In that code segment, SlideMenu2 is NOT embedded inside a CustomItem tag. That's why you can see it. As long as you embed a control into a CustomItem tag, it goes by the data binding process and you will not be able to see it. Your SlideMenu4 is embedded in a CustomItem tag.

Thanks


Ram
Posted: Monday, August 6, 2007 12:29:55 PM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
That means I can't access Me.SlideMenu4 collections since I embedded SlideMenu4 directly insdie a CustomItem tag.

If thats case how can I do change dynamically NavigateURL in SlideMenu4.

I can able to access SlideMenu1 and SlideMenu2 since I didn't embedded directly to menu item.

Here is the code I moved SlideMenu3 from binding directly to menu item and put separately in CustomItem2.

Now the PROBLEM is it didn't show SlideMenu3 items (including slidemenu4 also)

Its showing only 2 levels

Manuals Level 1
Manuals Level 2

Suppose to show "Manuals Level 3" but its NOT showing since I placed in a separate CustomItem tag.

That means ONLY ONE level is accepting link SlideMenu via CustomItemID property:

If I do more than ONE level it is not showing.

Thats the reason I was embedded CustomItem tag directly in the menu item (SlideMenu3)


I really don't understand. It seems its limiting the feature.


SAMPLE CODE

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="WebUserControlOperationsManualsTEST.ascx.vb" Inherits="UserControl_WebUserControlOperationsManualsTEST" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<eo:SlideMenu ID="SlideMenu1" runat="server" ControlSkinID="None" SlidePaneHeight="130"
Style="width:320px;" SingleExpand="False" AutoSelectSource="NavigateUrlExact"
SaveStateCrossPages="True" RaisesServerEvent="True">
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="13"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="19"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
NormalStyle-CssText="color:#215DC6;">
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="&#160;&#160;Manuals Level 1" Expanded="true">
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem CustomItemID="CustomItem1">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
<eo:CustomItem ID="CustomItem1" runat="server" >
<eo:SlideMenu ID="SlideMenu2" runat="server"
ControlSkinID="None"
SingleExpand="False"
AutoSelectSource="NavigateUrlExact"
RaisesServerEvent="True" SaveStateCrossPages="True" ClientSideOnItemClick="slidemenu_itemclick" >
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
NormalStyle-CssText="color:#215DC6;">
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="Manuals Level 2" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem CustomItemID="CustomItem2">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
</eo:CustomItem>
<eo:CustomItem ID="CustomItem2" runat="server">
<eo:SlideMenu ID="SlideMenu3" runat="server"
ControlSkinID="None"
SingleExpand="False"
AutoSelectSource="NavigateUrlExact"
RaisesServerEvent="True" SaveStateCrossPages="True" ClientSideOnItemClick="slidemenu_itemclick" >
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none"
ItemID="_Default"
NormalStyle-CssText="color:#215DC6;"
>
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="Manuals Level 3" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem>
<CustomItem>
<eo:SlideMenu ID="SlideMenu4" runat="server"
ControlSkinID="None"
SingleExpand="False"
AutoSelectSource="NavigateUrlExact"
RaisesServerEvent="True">
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="25"
HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
ItemID="_TopLevelItem"
LeftIcon-Url="Images/EOmenuleftImage.gif"
NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
<SubMenu ItemSpacing="5"
LeftIconCellWidth="0"
Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
NormalStyle-CssText="color:#215DC6;">
</eo:MenuItem>
</LookItems>
<TopGroup Style-CssText="OVERFLOW: hidden">
<Items>
<eo:MenuItem Text-Html="Manuals Level 4" >
<SubMenu ExpandEffect-Type="GlideTopToBottom" >
<Items>
<eo:MenuItem Text-Html="Section 1 - Introduction" NavigateUrl="PDF/Section1-Introduction.pdf" TargetWindow="_blank" NormalStyle-CssText="TEXT-DECORATION: none;" >
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
</CustomItem>
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
</eo:SlideMenu>
</eo:CustomItem>
----------------------------------------------------------------------------------------------------------------
eo_support
Posted: Monday, August 6, 2007 12:42:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

I am not sure what's is missing between our communications.....We told you that:

1. SlideMenu2 works because it is not inside a CustomItem;
2. SlideMenu4 does not work because it is inside a CustomItem;

So in order to fix the problem....why can't you take SlideMenu4 out of CustomItem and use it the same way as SlideMenu2? Isn't that obvious enough?

It is in your .aspx and we pointed out that is the problem and told you how to fix it. And you still continue to ask the same question over and over again without even borthering considering fixing it as we suggested.

I am not sure if we can help you further if you don't follow us at all.

Thanks

Ram wrote:
That means I can't access Me.SlideMenu4 collections since I embedded SlideMenu4 directly insdie a CustomItem tag.

If thats case how can I do change dynamically NavigateURL in SlideMenu4.
Ram
Posted: Monday, August 6, 2007 1:46:35 PM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
Hi EO,

I am really sorry to bother you again. I don't know will I get reply for this post or not?

Already I did what you mentioned reason post.

"So in order to fix the problem....why can't you take SlideMenu4 out of CustomItem and use it the same way as SlideMenu2? Isn't that obvious enough?"

I took out SlideMenu3 and SlideMenu4 from CustomItem tag and I used it the same way as SlideMenu2.

The PROBLEM is it didn't show SlideMenu3/SlideMenu4 items.

Its showing only 2 levels

Manuals Level 1
Manuals Level 2

SUPPOSE TO SHOW

Manuals Level 1
Code: Visual Basic.NET
Manuals Level 2
Manuals Level 3
Manuals Level 4
Section1-Introduction


I would appreciate you if could you please run the below sample code before you post me you will come to know what exactly I am talking about


Code: Visual Basic.NET
[code=cs]<%@ Control Language="VB" AutoEventWireup="false" CodeFile="WebUserControl.ascx.vb" Inherits="UserControl_WebUserControl" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<eo:SlideMenu ID="SlideMenu1" runat="server" ControlSkinID="None" SlidePaneHeight="130"
    Style="width:320px;" SingleExpand="False"  AutoSelectSource="NavigateUrlExact" 
    SaveStateCrossPages="True"  RaisesServerEvent="True">
            <LookItems>
                <eo:MenuItem ItemID="_TopGroup">
                    <SubMenu ItemSpacing="5" 
                    LeftIconCellWidth="13" 
                    Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
                    </SubMenu>
                </eo:MenuItem>
                <eo:MenuItem Height="25" 
                    HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                    ItemID="_TopLevelItem" 
                    LeftIcon-Url="Images/EOmenuleftImage.gif" 
                    NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                    SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
                    <SubMenu ItemSpacing="5" 
                        LeftIconCellWidth="19" 
                        Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
                    </SubMenu>
                </eo:MenuItem>
                <eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
                    NormalStyle-CssText="color:#215DC6;">
                </eo:MenuItem>
            </LookItems>
            <TopGroup Style-CssText="OVERFLOW: hidden">
                <Items>
                    <eo:MenuItem Text-Html="&#160;&#160;Manuals Level 1"  Expanded="true">
				        <SubMenu ExpandEffect-Type="GlideTopToBottom" >
					        <Items>
						        <eo:MenuItem  CustomItemID="CustomItem1">
						        </eo:MenuItem>
					        </Items>
				        </SubMenu>
			        </eo:MenuItem>
                </Items>
            </TopGroup>
 </eo:SlideMenu>
 <eo:CustomItem ID="CustomItem1" runat="server" >
     <eo:SlideMenu ID="SlideMenu2" runat="server" 
            ControlSkinID="None"  
             SingleExpand="False" 
              AutoSelectSource="NavigateUrlExact" 
            RaisesServerEvent="True" SaveStateCrossPages="True" >
            <LookItems>
                <eo:MenuItem ItemID="_TopGroup">
                    <SubMenu ItemSpacing="5" 
                    LeftIconCellWidth="0" 
                    Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
                    </SubMenu>
                </eo:MenuItem>
                <eo:MenuItem Height="25" 
                    HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                    ItemID="_TopLevelItem" 
                    LeftIcon-Url="Images/EOmenuleftImage.gif"  
                    NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                    SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
                    <SubMenu ItemSpacing="5" 
                        LeftIconCellWidth="0" 
                        Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
                    </SubMenu>
                </eo:MenuItem>
                <eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
                    NormalStyle-CssText="color:#215DC6;">
                </eo:MenuItem>
            </LookItems>
            <TopGroup Style-CssText="OVERFLOW: hidden">
                <Items>
                    <eo:MenuItem Text-Html="&#160;&#160;Manuals Level 2"  Expanded="true">
				        <SubMenu ExpandEffect-Type="GlideTopToBottom" >
					        <Items>
						        <eo:MenuItem CustomItemID="CustomItem2">
						        </eo:MenuItem>
					        </Items>
				        </SubMenu>
			        </eo:MenuItem>
                </Items>
            </TopGroup>                         
        </eo:SlideMenu>     
</eo:CustomItem>
<eo:CustomItem ID="CustomItem2" runat="server">
      <eo:SlideMenu ID="SlideMenu3" runat="server" 
            ControlSkinID="None"  
             SingleExpand="False" 
              AutoSelectSource="NavigateUrlExact" 
            RaisesServerEvent="True" SaveStateCrossPages="True" >
            <LookItems>
                <eo:MenuItem ItemID="_TopGroup">
                    <SubMenu ItemSpacing="5" 
                    LeftIconCellWidth="0" 
                    Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
                    </SubMenu>
                </eo:MenuItem>
                <eo:MenuItem Height="25" 
                    HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                    ItemID="_TopLevelItem" 
                    LeftIcon-Url="Images/EOmenuleftImage.gif"  
                    NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                    SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
                    <SubMenu ItemSpacing="5" 
                        LeftIconCellWidth="0" 
                        Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
                    </SubMenu>
                </eo:MenuItem>
                <eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
                    NormalStyle-CssText="color:#215DC6;">
                </eo:MenuItem>
            </LookItems>
            <TopGroup Style-CssText="OVERFLOW: hidden">
                <Items>
                    <eo:MenuItem Text-Html="&#160;&#160;Manuals Level 3"  Expanded="true">
				        <SubMenu ExpandEffect-Type="GlideTopToBottom" >
					        <Items>
						        <eo:MenuItem  CustomItemID="CustomItem3">
						        </eo:MenuItem>
					        </Items>
				        </SubMenu>
			        </eo:MenuItem>
                </Items>
            </TopGroup>                         
        </eo:SlideMenu>                                 
</eo:CustomItem>
<eo:CustomItem ID="CustomItem3" runat="server">
    <eo:SlideMenu ID="SlideMenu4" runat="server" 
            ControlSkinID="None"  
            SingleExpand="False" 
            AutoSelectSource="NavigateUrlExact" 
            RaisesServerEvent="True">
        <LookItems>
            <eo:MenuItem ItemID="_TopGroup">
                <SubMenu ItemSpacing="5" 
                LeftIconCellWidth="0" 
                Style-CssText="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; CURSOR:hand; PADDING-TOP: 0px; FONT-FAMILY: Arial; Font-Size:8pt;BACKGROUND-COLOR: lightgrey">
                </SubMenu>
            </eo:MenuItem>
            <eo:MenuItem Height="25" 
                HoverStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#428EFF;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                ItemID="_TopLevelItem" 
                LeftIcon-Url="Images/EOmenuleftImage.gif" 
                NormalStyle-CssText="background-image:url(Images/EOMenuDownArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;"
                SelectedStyle-CssText="background-image:url(Images/EOMenuUpArrow.gif);color:#215DC6;background-position-x: right; background-repeat: no-repeat;background-color:white;">
                <SubMenu ItemSpacing="5" 
                    LeftIconCellWidth="0" 
                    Style-CssText="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 13px; FONT-SIZE: 11px; FONT-WEIGHT: normal; PADDING-BOTTOM: 9px; BORDER-LEFT: white 1px solid; CURSOR: hand; COLOR: #215dc6; BORDER-TOP-COLOR: white; PADDING-TOP: 9px; BORDER-BOTTOM: white 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: #d6dff7">
                </SubMenu>
            </eo:MenuItem>
            <eo:MenuItem HoverStyle-CssText="COLOR: #428eff; TEXT-DECORATION: none" ItemID="_Default"
                NormalStyle-CssText="color:#215DC6;">
            </eo:MenuItem>
        </LookItems>
        <TopGroup Style-CssText="OVERFLOW: hidden">
            <Items>
                <eo:MenuItem Text-Html="Manuals Level 4" >
                    <SubMenu  ExpandEffect-Type="GlideTopToBottom" >
                        <Items>
                           <eo:MenuItem Text-Html="Section 1 - Introduction"  NavigateUrl="PDF/Section1-Introduction.pdf" TargetWindow="_blank" NormalStyle-CssText="TEXT-DECORATION: none;" >
                           </eo:MenuItem>     
                        </Items>
                    </SubMenu>
                </eo:MenuItem>
            </Items>
        </TopGroup>
    </eo:SlideMenu>
</eo:CustomItem>
[/code]
------------------------------------------------------------------------------------------------------------------
eo_support
Posted: Monday, August 6, 2007 2:02:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

You are almost there this time. Everything is good except that you can not nest CustomItem. In your case, SlideMenu1 contains CustomItem1, CustomItem1 contains SlideMenu2, SlideMenu2 contains CustomItem2. So CustomItem1 actually end up containing CustomItem2. That will not work. You can have one slide menu contains multiple CustomItems, for example, SlideMenu1 can have 3 menu items, each of them would then point to CustomItem1, CustomItem2, CustomItem3.

If you do need to have SlideMenu more than 2 levels, you can considering use a TreeView control. TreeView can have multiple levels and it also support SinlgeExpandMode property that can make it works similar to SlideMenu:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.TreeView.SingleExpandMode.html

You can take a look of this sample at here:
http://www.essentialobjects.com/Demo/Default.aspx?path=TreeView\_i1\_i8

Thanks
Ram
Posted: Monday, August 6, 2007 2:35:12 PM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
Thank you very much for replying my post.

Yes, I know there is a Tree View control.

I used long back time but my Project Manager/Director both didn't like it. They asked me to use Slide Menu all over the project since they wants to see unique look and feel good.

Reason : Tree View control it wouldn't effect(ExpandEffect-Type) as Slide Menu control.

So I am in the situation to use only Slide Menu control for many levels (many drill downs).

Previously we used hard coded NavigateURL path that's reason we never face any issue. Now we have to do dynamically dependents upon client's login.

It will be great if you could let me know is there any alternate way to achieve multiple levels in same Slide Menu so that I will inform to my Project Manager.

Again Thanks for you.

eo_support
Posted: Monday, August 6, 2007 2:43:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

Unfortunately it's not possible to have SlideMenu for many levels of drill downs. The control was not designed for that purpose so just like a car can't fly, it really can not do it. Only TreeView can do multiple level drill downs.

Thanks

Ram
Posted: Monday, August 6, 2007 2:44:02 PM
Rank: Member
Groups: Member

Joined: 6/18/2007
Posts: 15
Thank you very much for replying my post.

Yes, I know there is a Tree View control.

I used long back time but my Project Manager/Director both didn't like it. They asked me to use Slide Menu all over the project since they wants to see unique look and feel good.

Reason : Tree View control it wouldn't effect(ExpandEffect-Type) as Slide Menu control.

So I am in the situation to use only Slide Menu control for many levels (many drill downs).

Previously we used hard coded NavigateURL path that's reason we never face any issue. Now we have to do dynamically dependents upon client's login.

It will be great if you could let me know is there any alternate way to achieve multiple levels in same Slide Menu so that I will inform to my Project Manager.

Again Thanks for you.

eo_support
Posted: Monday, August 6, 2007 2:47:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi Ram,

I have already replied your post. Please do not make duplicate posts.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.