Hi
Guys.
I
am trying to create a menu list with the sub items by reading a xml file. I can
create ul and li tag in code behind by reading the xml file elements and loop
through it and create a html string but, I want to is there any other best way
to do this?
My
XML file look like below:
<MenuControl>
<Parent href="#" text="Parent1">
</Parent>
<Parent href="#" text="Parent2">
<subMenu href="#" text="Sub Menu 1">
</subMenu>
<subMenu href="#" text="Sub Menu 2">
</subMenu>
</Parent>
<Parent href="#" text="Parent3">
<subMenu href="# ...
Go to the complete details ...