Your Menu is ace, and have just implemented a Web Service driven menu which also respects my cookie so can onyl display menu items that the user is allowed to see.
But can I take this further and instead of using a conventional .asmx service, use a basic WS bound WCF service?
2 Answers, 1 is accepted
0
Accepted
Atanas Korchev
Telerik team
answered on 28 Jan 2009, 12:38 PM
Hi Nathan J Pledger,
The current official version of RadMenu requires some coding in order to support WCF. You need to create your custom version of the RadMenuItemData object which is decorated with the required attributes:
[DataContract]
public class MyRadMenuItemData
{
[DataMember]
public string Text {get;set;}
[DataMember]
public string NavigateUrl {get;set;}
/* Add as many properties as required */
}
[OperationContract]
public MyRadMenuItemData[] LoadData(MyRadMenuItemData item)
{
//Add your implementation
}
With our Q1 2009 release the RadMenuItemData class will have WCF support. We will also include a WCF binding example in our quick start framework.
Regards,
Atanas Korchev,
the Telerik dev team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.