CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/16/2007 10:10:36 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 44 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
BigMeat
Asp.Net User
Menu Control, add Child to Parent4/16/2007 10:10:36 PM

0/0

Hi

 I am using a asp:Menu control which I would like to populate Server Side from a single ungrouped data table that contain 3 rows (ID, ChildID, Name)

 I can populate a menu item by using:

Dim item As New MenuItem
item.Text = myDataRow.SvcDesc
Menu1.Items.Add(item)

 However the above will create a single level menu and not hierachical, how do I assign a child item to a parent. 

 I am able to identify from my datatable which items should be Parents and Items, I just dont know how to assign one to the other in the control. 

Thanks in advance

mariop77
Asp.Net User
Re: Menu Control, add Child to Parent4/16/2007 10:54:45 PM

0/0

Hi. Is something like this:

Menu1.Items(0).ChildItems.Add(item)

 

BigMeat
Asp.Net User
Re: Menu Control, add Child to Parent4/17/2007 11:31:56 AM

0/0

Thanks mate, worked a treat
maxpayn2
Asp.Net User
Re: Menu Control, add Child to Parent2/17/2008 3:03:01 PM

0/0

Hi

How about child of child ?

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007
Beginning Visual C# 2005 Express Edition: From Novice to Professional Authors: Peter Wright, Pages: 458, Published: 2006
Special Edition Using Visual Basic .Net Authors: Brian Siler, Jeff Spotts, Safari Tech Books Online, Pages: 830, Published: 2002
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Murach's Beginning Visual Basic.Net: Professional Training Authors: Anne Prince, Pages: 724, Published: 2002
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Professional ASP.NET 2.0 Databases Authors: Thiru Thangarathinam, Pages: 504, Published: 2007
Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005 Authors: Matthew MacDonald, Pages: 1036, Published: 2006
Windows Forms Programming in C# Authors: Chris Sells, Pages: 681, Published: 2004

Web:
Menu Control, add Child to Parent - ASP.NET Forums Re: Menu Control, add Child to Parent. 04-16-2007, 6:54 PM. Contact ... Re: Menu Control, add Child to Parent. 04-17-2007, 7:31 AM. Contact ...
Silverlight: how to build a simple Menu Control at Guardian’s Home Sep 25, 2008 ... This is only the first version of this control, and there’s room for LOTS of improvements (like adding a child menu to each submenu; ...
CodeProject: Populating Menu Control in ASP.NET 2.0 - using ... hi suppose im using the menu control if that contains a child control that display .... Add item to parents parentItem.ChildItems.Add(childItem); if (node. ...
Menu control The Menu control allows you to develop both statically and dynamically displayed ... Add additional root items or add child items to the selected item by ...
Kentico CMS for .NET - Free Content Management System for ASP.NET ... Aug 20, 2008 ... This article describes how to add a 3rd party menu control in .... MenuItem parent). {. // Get child items from GroupedDataSource object ...
[HowTo] [3.0.3] Add 'Increase Font Size' box to the forums ... ... Control Panel > Styles & Templates > Style Manager > From your default (or any) style select to open the drop down menu and click on 'Add Child Style'. ...
Navigation Menu, Javascript, find position of parent control, set ... //Set the position of the child control, add parent height, add user offset x and y values ... NET Menu control along with XMLdataSource and let ASP. ...
CodeProject: Magic MenuControl - VS.NET Style. Free source code ... Now I press File menu on the Parent form to show the child form in maximized ... Is it possible to add "Popup menu" as context menu to a tool bar control. ...
ASP.NET.4GuysFromRolla.com: Creating a Tabbed Interface for ... Sep 22, 2004 ... NET menu control, skmMenu. Hiding and Showing Child Data When a Parent Tab is Clicked When a parent tab is clicked the associated ...
a new menu control question [Archive] - VBForums
Videos:
Keeping Kids Healthy: Get Your Kids to Eat Right How do you get your kids to eat right when you're not around to supervise them!? Is there really a way to get them to like and choose healthy food, ...
Long Beach City Council Meeting Long Beach City Council Meeting




Search This Site:










it's probably some kinde of bug at product administration page.

additional contentpane help

dnn 3.0.12 edit page usability bug

update aspnet_membership table

profile question

event calendar firefox

forget password component

context.user.identity.name

applying themes

module visible to administrators

print

treeview crosspagepostback previouspage on masterpage

dnn repository!

where is the service directory module?

xml or text imports for dnn module tables

migrated wap opens as wsp on another machine

problem uploading image to gallery

missing tabs problem

custom membershipprovider, cannot load type

solpart menu and spmenuexamples.dll

custom calendar control

eventlog is empty

rss module delete published records

master page design time render issue - am i going mad?

sharing resource files

an icon for each category

new module - create and share!

master pages not rendering properly

external web page in a masterpage contentplaceholder

a way to convert standard dnn modules to css?

 
All Times Are GMT