5 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 12 Sep 2009, 07:04 AM
Hi Mayur,
Go through the following help article which explains how to Load Items from XML.
Thanks
Shinu
0
Test
Top achievements
Rank 1
answered on 12 Sep 2009, 07:52 AM
hi
thanks for reply
but i can't find full features in this article. for ex what is the attribute name to set url value.
can you please give me an sample XML file which cover everything.
thanks
0
Test
Top achievements
Rank 1
answered on 14 Sep 2009, 05:27 AM
can someone please give me reply ASAP....
Thanks
0
Shinu
Top achievements
Rank 2
answered on 14 Sep 2009, 09:03 AM
Hi Mayur,
Try setting the Href attribute in the XML definition. Here is the sample code.
Menu.XML:
| <?xml version="1.0" encoding="utf-8" ?> |
| <Menu Skin="Outlook"> |
| <Group ExpandDirection="Right" Flow="Horizontal"> |
| <Item Text="Parent" LeftLogo="Img\parent.gif" > |
| <Group Width="140" Flow="Vertical"> |
| <Item Text="Child 1" Href="http://www.google.co.in/" /> |
| <Item IsSeparator="True" /> |
| <Item Text="Child 2" /> |
| </Group> |
| </Item> |
| </Group> |
| </Menu> |
CS:
| RadMenu1.LoadContentFile("App_Data/menu.xml"); |
Regards
Shinu
0
Hello Mayur,
The easiest way to find how to set the properties of RadMenu in xml is to build the needed menu declaratively and then use GetXml() method which will return the xml representation of it.
Best wishes,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The easiest way to find how to set the properties of RadMenu in xml is to build the needed menu declaratively and then use GetXml() method which will return the xml representation of it.
Best wishes,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.