Welcome Guest Search | Active Topics | Sign In | Register

SlidePaneHeight in SlideMenu Options
gvrkrish
Posted: Tuesday, September 18, 2012 9:54:21 AM
Rank: Newbie
Groups: Member

Joined: 9/18/2012
Posts: 3
Hi,

I need to autoresize the slidepanelheight in slidemenu; instead of static value.

<eo:SlideMenu runat="server" id="SlideMenu1" SlidePaneHeight="170" ControlSkinID="None" Width="120px" EnableScrolling="True">

Slidepanel height should be based on my web application form height

Please let me know

Thanks
Ram
eo_support
Posted: Tuesday, September 18, 2012 9:59:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

The only way to make SlideMenu panel to auto size is to place something inside the slide menu panel. You will need to use a custom item to do that. For example, if you use a CustomItem and place a DIV of 200px height inside that CustomItem, then the SlideMenu panel will be 200px when the panel contains the CustomItem expands.

Thanks
gvrkrish
Posted: Tuesday, September 18, 2012 10:19:55 AM
Rank: Newbie
Groups: Member

Joined: 9/18/2012
Posts: 3
Hi,

I have already added the below code in my content place holder; can you help me out

<eo:SlideMenu runat="server" id="SlideMenu1" SlidePaneHeight="518" ControlSkinID="None" Width="120px" EnableScrolling="True">
<TopGroup>
<Items>
<eo:MenuItem LeftIcon-Url="00000506" Text-Html="Mail">
<SubMenu>
<Items>
<eo:MenuItem LeftIcon-Url="00030404" Text-Html="Drafts"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030408" Text-Html="Inbox"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030409" Text-Html="Journal"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030410" Text-Html="Junk E-mail"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030414" Text-Html="Notes"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030415" Text-Html="Outbox"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030416" Text-Html="Sent Items"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030418" Text-Html="Tasks"></eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000503" Text-Html="Calendar">
<SubMenu>
<Items>
<eo:MenuItem LookID="None" Text-Html="calendar_holder" CustomItemID="CalendarItem"></eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000504" Text-Html="Contacts">
<SubMenu>
<Items>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="Address Cards"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="Detailed Address Cards"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="Phone List"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="By Category"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="By Company"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="By Location"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030402" Text-Html="By Follow-up Flag"></eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000508" Text-Html="Tasks">
<SubMenu>
<Items>
<eo:MenuItem LeftIcon-Url="00030418" Text-Html="Simple List"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030418" Text-Html="Detailed List"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030418" Text-Html="Active Tasks"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030418" Text-Html="Next Seven Days"></eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00030418" Text-Html="Overdue Tasks"></eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000505" Text-Html="Folders">
<SubMenu Style-CssText="padding-bottom:0px;padding-left:5px;padding-right:0px;padding-top:0px;">
<Items>
<eo:MenuItem LookID="None" Text-Html="treeview_holder" CustomItemID="TreeItem"></eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu Style-CssText="border-right: #002d96 1px solid; border-top: #002d96 1px solid; font-weight: bold; font-size: 11px; border-left: #002d96 1px solid; cursor: hand; font-family: tahoma"></SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="31" HoverStyle-CssText="border-bottom: #002d96 1px solid" ItemID="_TopLevelItem"
NormalStyle-CssText="border-bottom: #002d96 1px solid" LeftIcon-Padding-Left="6" Image-Url="00000500"
Image-ExpandedUrl="00000502" Image-HoverUrl="00000501" Image-Mode="ItemBackground">
<SubMenu Style-CssText="padding-right: 10px; padding-left: 10px; font-size: 11px; padding-bottom: 2px; padding-top: 2px; border-bottom: #002d96 1px solid; font-family: tahoma"></SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="20" HoverStyle-CssText="font-weight: normal; text-decoration: underline"
ItemID="_Default" NormalStyle-CssText="font-weight: normal; text-decoration: none" LeftIcon-Padding-Right="5"></eo:MenuItem>
<eo:MenuItem Height="20" ItemID="plain_text" NormalStyle-CssText="font-weight: normal;" LeftIcon-Padding-Right="5"
Text-NoWrap="False"></eo:MenuItem>
</LookItems>
</eo:SlideMenu>
eo_support
Posted: Tuesday, September 18, 2012 10:25:14 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
No. We don't just take over your code and make it work for you. You have to follow what we tell you and do that yourself.

Thanks
gvrkrish
Posted: Friday, September 21, 2012 10:27:49 AM
Rank: Newbie
Groups: Member

Joined: 9/18/2012
Posts: 3
Actually when my form is loaded i need to show the slide menu with expanded and it should resize the height based on my form. Can you help me out ?

For example:
Menu -> Mail (under mail i having drafts, inbox, sent, junk, admin, security)
-> Calender

by default it should show mail slide menu on page load
eo_support
Posted: Friday, September 21, 2012 4:37:20 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

To expand a SlideMenu pane you would set the corresponding parent item's Selected property to true.

We will not answer the second question (it should resize the height based on my form). This is the same as your original question, to which we have already given you a reply. If you have questions about our original reply, you can follow up on that and we will be happy to guide you further. However if you just ignore our original answer and ask the same question again, we will ignore your question.

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.