AJAX :: Add Submenu To Particular Menu Using Repeater Control?
May 7, 2015How to add submenu to particular menu using repeater control...
View 1 RepliesHow to add submenu to particular menu using repeater control...
View 1 RepliesPopulate Menu and SubMenu Dynamically from Database using Repeater control in ASP.Net.
View 1 RepliesI am using Asp.Net web-application. How exactly to create UL menu with ListView control such as :
<ul> <li> <a href="#">Item #1</a> <ul> <li> <a href="#">SubItem #1</a> </li> </ul> </li></ul>
MenuId SubMenuId MenuName MenuUrl
1 0 Home Home.aspx
2 0 Administration Administration.aspx
3 2 Add User AddUser.aspx
4 2 Add Organizaion Add Organizaion.aspx
5 2 Add Program AddProgram.aspx
6 2 Add Activity AddActivity.aspx
7 0 Search Search.aspx
8 0 Utilities Utilities.aspx
9 0 ContactUs Contact.aspx
I have for example a ASP Menu control having a static (File) and dynamic (Open, New) menu such as :
[code]....
I am able to see this menu under VS 2008 under my development PC. But when I deploy the app to a IIS server, and run the app, the whole app appeared the same. Only the Menu has "File" for selection but the submenu items (Open and New) did not appear when the mouse cursor was moved over "File". Only the Outline of the dropdown box of the submenu appeared.
I got requirement to create a accordion menu which will have different menus for different site collection.
So, i created this Accordion which is in bind with site map file. But my Sitemap file has multi-level nodes, here my accordion is displaying only single level menus.
I am knew to CSS I never usually do it. I am creating a menu and I change the image of the button when the button is hovered over it. But when I go on the submenu the image reverts back to the original image. The code I have used is below.
[code]....
I have just put a site on a production server for testing.However,the submenu is not visible in internet explorer but is on mozilla.The submenu is visible when run from the local host.
View 1 RepliesI am working on a website at the moment, I am using .NET 4 and VB. My site is contained within a Master Page and all working OK. I am using an ASP:MENU control which is driven by a web.sitemap file and works a treat. I have had an idea of something I would like to know but I am struggling to get it going correctly (not sure if it is even possible) What I am after doing is having the main categories of my website across the top horizonally (this part is no problem) and the sub menu items going vertically but down the left side of the page such as:
Logo Here
Menu Head 1
Menu Head 2
Menu Head 3
Sub Menu Head 1
Sub Menu Head 2
Sub Menu Head 3
Does anyone have any idea if such a thing is possible or not?
i have a menu, what i want is that when i click on parent item of menu then only subitem should display,mean i dont want to display subitem on mouseover. what should i do.Is there any property should i set or i have to write code for it .
View 1 RepliesI have a problem with my visual studio 2008 for my ASP.NET application on one PC (HP with Windows XP). The Dynamic submenu items are not visible when mouse over a menu. The same application works fine on another PC. It worked fine on the same PC 4 months ago. In recent 4 months, my PC had some updates, like windows XP updates, Visual studio 2008 updates, flash update, adobe update, and iTunes update. After I noticed the problem, I had tried to uninstall the all updates except windows XP updates; and tried to uninstall Visual Studio 2008 completely; then re-install it again.
View 4 Repliesi want to Create MultiLevel subMenu With this code
[Code]....
I use MenuItems from properties for adding the SubItems. I want to Create this like
[Code]....
but after adding the subItems my Source is like this
[Code]....
the subitems dont Create
I do this job According (post 4) from this link
[URL]
I need to develop an easy and quickly to build menu structure based on xml. The menu needs to have a "Main" menu at top of the screen and a submenu at the left of the screen. Excactly like this: [URL] where i need to get started and wich control i should use?
View 1 RepliesCreate Dynamic Menu and SubMenu and Role Wise in asp.net c# ....
View 1 RepliesI am attempting to create a vertical menu (currently using the asp.menu control with membership) on 1 masterpage. This all works great, but I want the submenu items to display statically under the main topic AFTER the page is posted back. Meaning, if I have main items A,B, and C, when I click on item B, it goes to the B page and shows all the subtopics under B. The subtopics should be statically displayed and phsically located under the selected topic. I have tried the css friendly adapters, jquery examples, accordion samples, and a jquery tree menu. None worked very good, and I don't know enough javascript/jquery to create it by hand. The closest I could get was the jquery treeview, but it didn''t work very well. This has been a frustrating search and I have learned how difficult custom menu navigation is in asp.net.
View 2 RepliesI am using asp.net Menu control with sitemap datasource. There is one Web.sitemap in the folder where links are saved in such a manner
<siteMapNode url="~/MainMenu.aspx" title="Software Development Solutions" description="Software Development Solutions" >
<siteMapNode url="~/submenu.aspx" title="CRM Software Application Development" description="CRM Software Application Development" />
<siteMapNode url="~/submenu.aspx" title="CRM Software Application Development" description="CRM Software Application Development" />
<siteMapNode url="~/submenu.aspx" title="CRM Software Application Development" description="CRM Software Application Development" />
<siteMapNode/>
How to center the menuitems and highlight the selected menuitem in menu control in asp.net?
<asp:Menu ID="maspageMenu" runat="server" BackColor="#2D2D30" Width="100%" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="1.4em" Font-Strikeout="True" Font-Underline="True" ForeColor="#009933" Orientation="Horizontal" StaticSubMenuIndent="10px" BorderStyle="Groove">
<DynamicHoverStyle BackColor="#18624F" ForeColor="White" />
<DynamicMenuItemStyle BackColor="White" HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="White" BorderStyle="Double" />
[CODE]...
I need a help in creating a vertical oriented Menu control with dynamic url's set in there Navigate Url property.Also i need to set the menu items as enable/disable in two different modes say edit/new.
I am using a repeater control and i want to use one more repeater control inside the existing repeater control .
Like this:
<asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> </HeaderTemplate>
<ItemTemplate>
<!-- start child repeater --> Here I want to use one repater control <!-- end child repeater -->
</ItemTemplate>
</asp:Repeater>
iam new to AJAX i need a help from you guys. i have 4 main links in the page when any of these link is clicked its submenu (say 3 submenu) should load in AccordionPane.
View 1 RepliesI need to display a database table in a repeater control but it should be asynchronous and should not be reloaded. When I click the button the next rows need to be appeared without loading. My superior says I need to use Ajax and repeater control. But I only know the synchronous way using something like
Repeater.DataSource();
Repeater.DataBind();
how to use <href> tag in asp.net Menu Control?? i have to open pop up pages.
View 1 RepliesI started a new project using VS2010. I have a menu control connected with an XML datasource inside UpdatePanel, Menu control works fine, problem is the styling. using a StaticHoverStyle Css works only after the page reloads, when I click a menu entry, the entry is selected but StaticHoverStyle does not reflects the menu items anymore (of course when I hover the items) Same behave with both Net versions 3.5 and 4. When I remove the UpdatePanel the StaticHoverStyle comes back to life ( post back occurs ).
View 1 RepliesI'm using the new version of ajax control toolit - 40412. Installed it due to the previous version having problems with modal popup extenders inside update panels. I Installed the new version and found it worked fine as soon as I change my scripmanager to ToolkitScriptManager, However, I recentlly realised that now my sites hovermenus do not work in IIS6 (maybe 7 too) Ive tried in firefox and IE and the same. I changed from <asp:ToolkitScriptManager> to the old <asp:ScriptManager> and they work but I need the toolkitScriptManager cause of some new controls I have used will use need it. This is all implmented in my masterPage for the site so I will post the code (there is nothing in the code behind)
[Code]....
It all runs fine when I run as project from Visual Studio.
I'm creating a user control to be placed within a masterpage on a site. Inside the user control, I have placed a menu. It is wired up to a sitemap datasource to get navigation with security trimming included. question: How do I use the Accordion toolkit control to collapse main portions of the menu? For example, if I have Orders and Supplies and subpages contained therein, how do I setup Accordion to traverse the sitemap based on the user's security privileges?
View 3 RepliesCan we apply asp.net ajax Animation behaviour to the asp.net Menu Control ?
Suppose on mouse Hover on the menu items ,i want its submenus to pop out in an animated behaviour.