RadMenu Get XML Source

1 posts, 0 answers
  1. ruben
    ruben avatar
    1 posts
    Member since:
    Oct 2008

    Posted 27 Oct 2008 Link to this post

    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.

Back to Top