or

<body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div> <telerik:RadComboBox ID="testCombo" runat="server" ShowToggleImage="false" EnableLoadOnDemand="true" Width="200px" AllowCustomText="false" AppendDataBoundItems="true"> <Items> <telerik:RadComboBoxItem Text="Eingabe zur Suche..." Selected="true" Font-Italic="true" ForeColor="Silver" /> </Items> <WebServiceSettings Path="~/Services/AgentService.svc" Method="GetAgents" /> </telerik:RadComboBox> </div> </form> </body>[ServiceContract( Namespace = "http://TelerikAjaxTest/AgentService" )] [AspNetCompatibilityRequirements( RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed )] public class AgentService { [OperationContract] public RadComboBoxData GetAgents( RadComboBoxContext context ) { List<RadComboBoxItemData> list = new List<RadComboBoxItemData>() { new RadComboBoxItemData { Text = "Value1", Value = "Value1" }, new RadComboBoxItemData { Text = "Value2", Value = "Value2" }, new RadComboBoxItemData { Text = "Value3", Value = "Value3" }, new RadComboBoxItemData { Text = "Value4", Value = "Value4" }, new RadComboBoxItemData { Text = "Value5", Value = "Value5" } }; RadComboBoxData result = new RadComboBoxData(); result.Items = list.ToArray(); result.EndOfItems = true; return result; } }<system.serviceModel> <behaviors> <endpointBehaviors> <behavior name="aspNetAjaxBehavior"> <enableWebScript/> </behavior> </endpointBehaviors> </behaviors> <services> <service name="TelerikAjaxTest.Services.AgentService"> <endpoint address="" behaviorConfiguration="aspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding" contract="TelerikAjaxTest.Services.AgentService"/> </service> </services> <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/> <bindings> <webHttpBinding> <binding name="webBinding"> <security mode="Transport"> </security> </binding> </webHttpBinding> </bindings></system.serviceModel>