Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to bind the data to menu through xml file
My xml file:
XML
<?xml version="1.0" standalone="true"?>
-<DocumentElement> <Menu Allowed="0" Tooltip="Administration" PreFix="" NavigateUrl="" ParentID="" Description="Administration" ID="01"/> <Menu Allowed="1" Tooltip="Sales And Marketing" PreFix="" NavigateUrl="" ParentID="" Description="Sales And Marketing" ID="02"/> <Menu Allowed="1" Tooltip="" PreFix="" NavigateUrl="" ParentID="02" Description="Sale Order" ID="03"/> <Menu Allowed="1" Tooltip="" PreFix="" NavigateUrl="" ParentID="02" Description="Sale Invoice" ID="04"/> <Menu Allowed="1" Tooltip="Purchase" PreFix="" NavigateUrl="" ParentID="" Description="Purchase" ID="05"/> <Menu Allowed="1" Tooltip="" PreFix="" NavigateUrl="" ParentID="05" Description="Purchase Order" ID="06"/> <Menu Allowed="1" Tooltip="" PreFix="" NavigateUrl="" ParentID="05" Description="Purchase Order" ID="07"/> <Menu Allowed="1" Tooltip="" PreFix="" NavigateUrl="" ParentID="05" Description="Transfer Order" ID="08"/> </DocumentElement

i want add menu item in menu according to parentId property..
i.e whose parentId is null that become my parent menu item in this way
give suggession
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900