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: 5/3/2006 7:51:53 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 26 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
shard
Asp.Net User
menu and xmldocument5/3/2006 7:51:53 AM

0/0

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.menu(VS.80).aspx

"The Menu control can also be bound to an XmlDocument object. To bind to this data source, set the DataSource property of the Menu control to the data source and then call the DataBind method."

It doesn't look like this is true?

"HierarchicalDataBoundControl only accepts data sources that implement IHierarchicalDataSource or IHierarchicalEnumerable."

using

XmlDocument doc = new XmlDocument();
XmlNode topNode = doc.CreateNode(XmlNodeType.Element, "top", "");
doc.AppendChild(topNode);
Menu1.DataSource = doc;
Menu1.DataBind();

Assuming that you can't do this what I want to do is to create a menu by merging 2 different sources, an xml file and some data that will be in a custom class. I assumed the easiest way would be by reading in the the XML using XmlDocument and then adding in the bits from the custom class and finally doing a databing

 

Any thoughts?

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


Free Download:

Books:
Effective GUI Test Automation: Developing an Automated GUI Testing Tool Authors: Kanglin Li, Mengqi Wu, Pages: 445, Published: 2004
Beginning XSLT 2.0: From Novice to Professional Authors: Jeni Tennison, Pages: 797, Published: 2005
Object-oriented Programming with ActionScript 2.0 Authors: Jeff Tapper, James Talbot, Robin Haffner, Safari Tech Books Online, Pages: 476, Published: 2004
QuarkXPress 5 for Macintosh and Windows: Visual QuickStart Guide Authors: Elaine Weinmann, Peter Lourekas, Pages: 498, Published: 2002
Ajax Bible Authors: Steven Holzner, Pages: 695, Published: 2007
XML Hacks Authors: Michael Fitzgerald, Pages: 460, Published: 2004
Learning PHP 5: A Pain-free Introduction to Building Interactive Web Sites Authors: David Sklar, Pages: 350, Published: 2004
Macromedia Coldfusion Mx7 Certified Developer Study Guide: Developer Study Guide Authors: Ben Forta, Pages: 484, Published: 2005
Beginning Visual C# 2005 Authors: Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White, Pages: 1062, Published: 2006

Web:
Menu control and XMLDocument - ASP.NET Forums Is it possible to dynamically create the XML document and bind it to the 2.0 Menu control? If so, could someone point me in the direction of ...
ASP.NET Menu Visual Designer - UltimateMenuDesigner To load an XML document as Menu Source, click on Load Menu button after browsing . ... Menu Source XML document and Menu Css file are saved when clicked. ...
Infragistics - Solution Scenarios - How do I bind a menu to an XML ... Your application has represented this structure in an XML document, where the names of each menu and submenu are the local names of the XML elements. ...
Menu theme development guide - MythTV The first step is to create a directory to hold the menu's XML document. If unsure, a good place is in the home folder. The directory can be called anything ...
Making XML document markup international The menu system and the What You See. Is What You Get (WYSIWYG) display in ... uses a dictionary to translate the markups in the source XML document into ...
Digitally Signing an XML Document and Verifying the Signature ... Signing an XML document and then validating the digital signature of the document ... menu and import the key from the PFX you generated in the last step . ...
Create Sample XML Document It is possible to create a sample XML document from an XML Schema. This can be done by using the "Tools->Create Sample XML Document" Menu ( ). ...
markwilson.it » A tale of two XML document formats Main menu. Blog · Who is Mark Wilson? ... A tale of two XML document formats. Once upon a time, there were two competing standards for XML-based document ...
5. Validating an XML Document To validate an XML document, right click on the document and choose 'Validate' from the right click menu. If it is valid you will get a dialog box saying ...
How can I change the item attributes programmatically ... Private Function SetItemAttribute(ByRef menu As XmlDocument, ByVal itemID As String, ByVal attribName As String, ByVal attribValue As String) As String ...

Videos:
GWT Dashboard Example Example usage of Dashboard from the GWT In Action book (http://www.manning.com/hanson)




Search This Site:










web application project model versus website project model and migrating to 3.5

memberrole.dll documentation

custom public property integer

menu control edges

is text size/page width a skin attribute?

read file on remote system

.net permissions

unable to use login control for windows authentication

default country and countrylistbox feature problem

need client script sample with viusual 2005

google like web parts

free dotnetnuke quick start guide videos

binding data to a custom control

looking up tabs url by name

ibuyspy portal: c# code for document management modul

why do i loose all styles when i convert form .net 2.0 to .net 3.5 ?

blog module: edit entry is currently unavailable.

deploying dnn from development to production

gridviewadapter + ajax

new parent portal - no found

crystal reports

dnn30 - install gallery and forum - failure

frustrated and need an answer

how to prompt user to change password?

error in treeview control

hiding/encrypting text files (xml) from system administrators

customizable login module?

asp.net web configuration tool

how can i migrate my members and roles to a remote host ?

2.1.2 install suggestion

 
All Times Are GMT