This is a migrated thread and some comments may be shown as answers.
RadComboBoxContext is null
2 Answers 10 Views
This is a migrated thread and some comments may be shown as answers.
Mostafa
Top achievements
Rank 1
Mostafa asked on 26 Jul 2013, 01:23 PM
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 Answers, 1 is accepted

Sort by
0
Mostafa
Top achievements
Rank 1
answered on 26 Jul 2013, 01:55 PM
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
0
Nencho
Telerik team
answered on 30 Jul 2013, 10:42 AM
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.
Asked by
Mostafa
Top achievements
Rank 1
Answers by
Mostafa
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or