RadComboBoxContext is null

3 posts, 0 answers
  1. Mostafa
    Mostafa avatar
    4 posts
    Member since:
    Sep 2012

    Posted 26 Jul 2013 Link to this post

    Hi,

    I'm implementing the LoadOnDemand with WCF scenario and the WCF method is getting the context for the combo box as a null.
    What might cause this error. below is my wcf operation contact implementation:     

    [OperationContract]

    public RadComboBoxData test(RadComboBoxContext radComboContext)

    {
    Add your operation implementation here

    ViperService.ViperServiceClient viperServiceClient = new ViperService.ViperServiceClient();

    return viperServiceClient.GetTraderGroupsLoadOnDemand(radComboContext);

    }

    the control html code:

     

    <telerik:RadComboBox ID="rcmyCombo" runat="server" CheckBoxes="True" EmptyMessage="Choose" Width="300px" DataTextField="Name" DataValueField="Id"

    EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" ItemsPerRequest="10" >

    <WebServiceSettings Path="TelerikService.svc" Method="test" />

                               

     

    </telerik:RadComboBox>




      

    any help will be appreciated.

  2. Mostafa
    Mostafa avatar
    4 posts
    Member since:
    Sep 2012

    Posted 26 Jul 2013 Link to this post

    I'm working with Telerik.Web.UI.dll version: 2012.2.815.40
    and this is the article i'm folowing:

    http://www.telerik.com/help/aspnet-ajax/combobox-load-on-demand-wcf-service.html
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 30 Jul 2013 Link to this post

    Hello Mostafa,

    I tried to replicate the described problem, but to no avail. Here is a video, demonstrating the behavior at my end. Please correct me if I had missed something, or doing anything wrong.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top