This is a migrated thread and some comments may be shown as answers.
RadComboBox Context
6 Answers 86 Views
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 16 Sep 2009, 03:16 PM
Hello,

I have a WCF service.  On the client, I'm binding RadComboBox via web service.  I tap into ItemRequesting, and I do on the client:

function rcb_ItemsRequesting(sender, e) {
    var context = e.get_context();

    context["A"] = 5;
    context["B"] = 4;
    context["RelativeDate"] = null;
}

I have this web service:

[OperationContract]
public RadComboBoxData Get(RadComboBoxContext context)
{
    //context doesn't have anything
}

As my comment says, my context property has a zero count, the values aren't getting passed along.  I'm using 2008.3.1125.35.

Thanks.

6 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 17 Sep 2009, 01:56 PM
Hi Brian Mains,

In older releases the built-in RadComboBox context didn't work as we didn't pass the context as dictionary which WCF could parse. We fixed this problem in the later versions so I suggest that you try with the latest one.

Kind regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brian Mains
Top achievements
Rank 1
answered on 17 Sep 2009, 05:37 PM
So is there any other alternative, because unless you are giving me a free upgrade, that's not an option?  Any other way to bind, just have my own web service and set the data source in the client API??????  Would using web services be better to address this?????

I really need to bind on the client, and any alternative will work, though ItemsRequested server-side event isn't an option, unless there is a way to refresh it on the client, because I need the list to change based on conditions on the data being loaded.

Thanks.
0
Brian Mains
Top achievements
Rank 1
answered on 17 Sep 2009, 05:38 PM
Or, can the other syntax:

public RadComboBoxItemData[] GetData(object context)

work with WCF, or work period?
0
Veselin Vasilev
Telerik team
answered on 18 Sep 2009, 12:56 PM
Hi Brian Mains,

Please check this code library for the older versions.
It should work as expected.

Kind regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mostafa
Top achievements
Rank 1
answered on 26 Jul 2013, 01:53 PM
Could you tell me if this works with my current edition or not, My version of Telerik.Web.UI.dll is: 2012.2.815.40.

Please confirm.
0
Nencho
Telerik team
answered on 30 Jul 2013, 03:12 PM
Hello Mostafa,

I noticed that you had submitted another ticket on the same matter, which I had already replied. I would like to ask you to continue our conversation in the other thread, in order to avoid duplication.

Thanks.

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
Brian Mains
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Brian Mains
Top achievements
Rank 1
Mostafa
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or