Can the full code for the webservice used in the online demo for binding prometheus menu to a webservice be posted. The stub does not help much for determining what we need to return from the webservice.
1 Answer, 1 is accepted
0
Accepted
T. Tsonev
Telerik team
answered on 17 Jan 2008, 08:28 AM
Hello Kevin,
The full code is available in the App_Code folder of the QSF - ProductCategories.cs. Here is the menu-related code:
using System;
using System.Web;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Threading;
using System.Web.Script.Services;
using System.Web.Services;
using System.Web.Services.Protocols;
using Telerik.Web.UI;
[ScriptService]
publicclass ProductCategories : WebService
{
[WebMethod]
public RadMenuItemData[] GetMenuCategories(RadMenuItemData item, object context)