KaxMenuWebServiceSettings Property |
Namespace: Kettic.AspNet.Controls
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public WebServiceSettings WebServiceSettings { get; }
Use the WebServiceSettings property to configure the web service used to populate items on demand. You must specify both Path and Method to fully describe the service.
You can use the LoadingStatusTemplate property to create a loading template.
In order to use the integrated support, the web service should have the following signature:
[ScriptService] public class WebServiceName : WebService { [WebMethod] public KaxMenuItemData[] WebServiceMethodName(KaxMenuItemData item, object context) { // We cannot use a dictionary as a parameter, because it is only supported by script services. // The context object should be cast to a dictionary at runtime. IDictionary<string, object> contextDictionary = (IDictionary<string, object>) context; //... } }