This is a migrated thread and some comments may be shown as answers.

RadMenu Get XML Source

0 Answers 31 Views
Menu
This is a migrated thread and some comments may be shown as answers.
ruben
Top achievements
Rank 1
ruben asked on 28 Oct 2008, 02:43 AM

Hi,

i have use RadMenu and i have some problem, please resolve my problem.
I want use XML binding for the menu. I have XML file like this:

<Items Text="MR">
 <Item Text="Test" Url="" >
   <Item Text="TestMR1" Url="http://TestMR1" />
   <Item Text="TestMR2" Url="http://TestMR2" />
   <Item Text="TestMR3" Url="http://TestMR3" />
 </Item>
</Items>
<Items Text="SUP">
 <Item Text="TestSUP" Url="" >
   <Item Text="TestSUP1" Url="http://TestSUP1" />
   <Item Text="TestSUP2" Url="http://TestSUP2" />
   <Item Text="TestSUP3" Url="http://TestSUP3" />
 </Item>
</Items>

I want bind the xml separately, so i need just get this xml section only

<Items Text="MR">
 <Item Text="Test" Url="" >
   <Item Text="TestMR1" Url="http://TestMR1" />
   <Item Text="TestMR2" Url="http://TestMR2" />
   <Item Text="TestMR3" Url="http://TestMR3" />
 </Item>
</Items>

not get all.. just want get <Items Text="MR"> not include <Items Text="SUP">

how i do this? please give me some example with code.

Thanks.

No answers yet. Maybe you can help?

Tags
Menu
Asked by
ruben
Top achievements
Rank 1
Share this question
or