This is a migrated thread and some comments may be shown as answers.

Filtering with OData

4 Answers 90 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Baptiste
Top achievements
Rank 1
Baptiste asked on 17 May 2013, 09:17 AM
Hello,

I am using a combobox with an OData data source as defined here:

<telerik:RadODataDataSource runat="server" ID="RadODataDataSource1" EnablePaging="True" EnableSorting="True" EnableFiltering="True">
    <Transport>
        <Read Url="http://localhost/DataService/" DataType="JSONP"></Read>
    </Transport>
    <Schema>
        <telerik:DataModel ModelID="Country" Set="CustomCountries">
            <telerik:DataModelField FieldName="Name"></telerik:DataModelField>
            <telerik:DataModelField FieldName="ISOCountryCode"></telerik:DataModelField>
        </telerik:DataModel>
    </Schema>
</telerik:RadODataDataSource>
 
<telerik:RadComboBox runat="server" ID="RadComboBox1" ODataDataSourceID="RadODataDataSource1" Filter="Contains"
    DataModelID="Country" DataTextField="Name" DataValueField="ISOCountryCode" EnableLoadOnDemand="True"
    MaxHeight="200">
</telerik:RadComboBox>

I was expecting that when filtering, the combobox would use the $filter parameter but when inspecting the request, it is always empty. Am I missing something?


Thanks in advance,

Baptiste

PS: One more question, will OData v3 be supported in a near future? :)

4 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 22 May 2013, 07:46 AM
Hello Baptiste,

I noticed that you sent us an identical support ticket. Therefore, I would like to ask you to continue the communication in the other ticket, in order to keep the correspondence consistent.

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 their blog feed now.
0
Denis
Top achievements
Rank 1
answered on 29 Aug 2013, 05:31 PM
Hello,

I have the similar issue. OData + WebAPi, RadODataDatasource, RadCombobox. The "$filter" property is always empty (as well as $orderby). Is it a WebAPI which does not understand empty queries or RadCombobox which sends incorrect query problem?

Thank you,
Denis Mitropolskiy
0
Nencho
Telerik team
answered on 03 Sep 2013, 10:49 AM
Hello Denis,

We had inspected the issue thoroughly and it turned out  that this is a bug, which is already forwarded to our developer team for further inspection. As for the OData v3 support, here you may vote and tack that feature request progress. Please excuse us for any inconveniences caused.

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.
0
msky92
Top achievements
Rank 1
answered on 19 Dec 2017, 11:30 AM

Hi, 

It looks like this bug is not fixed yet. Can you Please update me the status of .

 

Thanks

Tags
ComboBox
Asked by
Baptiste
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Denis
Top achievements
Rank 1
msky92
Top achievements
Rank 1
Share this question
or