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

Load XML Data into Menu via Skin

1 Answer 50 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Dave Ranck
Top achievements
Rank 1
Dave Ranck asked on 16 Aug 2010, 07:52 PM
In an older version of the RadMenu (v 3.6.4.0), I was able to load my xml data into a radmenu inside of a skin.

Skin syntax:

<telerik:RadMenu

    runat="server"

    SkinID="EditCommandMenu"

    Width="100%"

    ClickToOpen="true"

    CausesValidation="false"

    AccessibilityEnabled="True"

    AutoPostBack="false"

    ContentFile="~/PresentationLayer/Manifests/Menu/Edit/Commands.xml"

    ImagesBaseDir="~/PresentationLayer/Images/Menu/Default" />

I am in the process of upgrading to the latest version and this functionality seems to be removed.
Does anyone know how to inject my XML into a Menu via a Skin?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 18 Aug 2010, 05:49 PM
I'm assuming you are referring to loading the XML file via one of the properties of the RadMenu. I believe that this approach (unless you have a declarative source of the page) has been replaced with the implementation found in this online demo, which uses a code-behind approach (very simple to implement).
Tags
Menu
Asked by
Dave Ranck
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or