ASP.Net Vertical Menu with Scroll functionality - asp.net

Referring to Menu / Scrolling Example
I would like to create / find the same functionality for a vertical menu. I tried the following.
<asp:Menu ID="menuAccountMembers" runat="server" StaticSubMenuIndent="16px"
Visible="true" RenderingMode="Table"
ScrollDownImageUrl="~/Resources/scrolldown.jpg"
ScrollUpImageUrl="~/Resources/scrollup.jpg">
<Items>
But it doesnt display any scrolling images. I am using .net 4.0
Tried setting menuAccountMembers.RenderingCompatibility = new Version(3, 5); as well.
If there a property to only display the first 5 root menu items, then show scroll bars for the rest? It can be click-able, no need to hover over to show next item.

Found the Jcarousel sufficient

Related

Horizontal scroll bar issue when using rtl style with TreeView

The problem is that the website is very wide. A horizontal scroll bar is added and the width of the page becomes like 10000. The problem happens once I use treeview if the page style is RTL.
If I change the page to LTR or if I remove the treeview, the problem disappears.
Can anyone help?
set this property for treeview
SkipLinkText=""
<asp:TreeView ID="TreeView1" runat="server" SkipLinkText="">
</asp:TreeView>

Issues with ASP>NET devexpress grid height

I am using a devexpress gridview with editform template. My issue is I have many rows within a grid, so when I edit rows at the bottom of a page, the edit form goes below the screen and I have to scroll down to see the whole edit form. Is there a way to set this grid to auto height so I dont have to scroll down. Also the vertical scroll bar is always displayed even if I make it false.
You can use PopUpEditForm So That You Dont have To ScrollDown On The Screen And It appears in the middle of the screen itself.
You can use the following settings for the PopupEditForm for your grid
<SettingsEditing EditFormColumnCount="2" Mode="PopupEditForm" PopupEditFormWidth="800px"
PopupEditFormHeight="320px" PopupEditFormVerticalAlign="Below" PopupEditFormHorizontalAlign="Center"
PopupEditFormAllowResize="false" />
PopupEditFormWidth,PopupEditFormHeight - You can change it to any size you want so that all your controls are properly placed.

Show arrow on non selectable nodes

I have a databound ASP.net menu with the following databindings
<DataBindings>
<asp:MenuItemBinding TextField="title" ToolTipField="description" NavigateUrlField="url" SelectableField="AsLink" />
</DataBindings>
Now any node which becomes non selectable also loses its arrow, even if it has children
Why is that and how can we remedy this?
I have seen some suggestions to use StaticEnableDefaultPopOutImage.
Neither should it, as its purpose is according to msdn
Gets or sets a value indicating whether the built-in image is displayed to indicate that a static menu item has a submenu
And my issue is equally with static and dynamic nodes, in case of non-selectability
I'm using .NET 4.0
The problem is that the Menu control adds a style on the static menu item anchor(<a>) element (style="cursor: text") when it is not selectable so you need to manully change it.
Change the Css for your Static Menu Style to make it easy to find the right anchor elements:
<StaticMenuStyle CssClass="StaticMenuHover" />
Add a Jquery script to the end of the page to change the pointer for the menu items:
//Grab all Static Menu anchors elements with an href of '#'(Non active links)
$(".StaticMenuHover a[href='#']").css("cursor","pointer");

set tab pages on left side of tab continer in asp.net 4.0

I want to ask you about tab containers. Is there any way to set tab pages vertically on left side of tab container. some kind of vertical tab...
Example
tabheader
tabheader (active tab) --- content
Are you talking about ASP.Net Ajax Tabcontainer?
If so, have a look at following link: Making the AjaxToolKit TabContainer tabs vertical
The guy used simple css to get the TabContainer showing vertcal instead of horizontal.

ASP.NET horizontal menu with submenu appearing below, also horizontal

I've got a horizontal menu with UL/LI markup that I want to convert to an ASP:Menu in .net 3.5.
I'd like choices in the submenu to be rendered in a horizontal menu below the main menu when the main menu option is clicked. I also want to:
indicate which menu option is chosen by highlighting/bolding both the main menu and submenu,
check on rendering (or via some other mechanism) the role of the user to show only the proper menu options.
Use the CSS friendly adapters: http://www.asp.net/CssAdapters/
These will allow you to keep the ul/li markup and give you the ability to highlight via css and control the rendering just like you would with a normal asp:Menu with the roles.

Resources