Hi All;
My problem is
Does anyone know the reason?
<script type="text/javascript"> function ItemsRequesting(sender, args) { var context = args.get_context(); context["FilterString"] = args.get_text(); debugger; }</script>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"> </asp:ScriptReference> </Scripts> </telerik:RadScriptManager> <telerik:RadComboBox runat="server" ID="RadComboBox1" Height="100px" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" EmptyMessage="Type here ..." OnClientItemsRequesting="ItemsRequesting"> <WebServiceSettings Path="WcfDataService1.svc" Method="LoadData" /></telerik:RadComboBox>[ServiceContract(Namespace = "")] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] public class WcfDataService1 { [OperationContract] public RadComboBoxData LoadData(RadComboBoxContext context) { // Where is my context :-) } }My problem is
RadComboBoxContext context in the WebService is always null. Does anyone know the reason?