Telerik Rad Grid custom filter drop down is not working with text contains 'OR' as whole word

2 Answers 94 Views
DropDownList Grid
Rahul
Top achievements
Rank 1
Iron
Rahul asked on 15 Jul 2021, 01:51 PM
I have modify the Radgrid and add custom drop down in the grid for filtering the data instead of text box. For the implementation I have follow the below link.
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Filtering/filter-with-ms-dropdownlist-instead-of-textbox-

Suppose there are some values in filter drop down as below :

1. [All]
2. Test OR Testing
3. RahulGoel

At initially [All] is selected in the filter drop down and all values are shown in the grid.
Now I select RahulGoel in the filter drop down,  After postback grid is filtered with that value and RahulGoel is selected in the filter dropdown.
Now If I select Test OR Testing in the filter drop down,  After postback grid shows whole data and is not filtered with that value and [All] is selected in the filter dropdown.

So the main problem with filter drop down is that, "If I select those values from filter drop down whose text contains 'OR' as a whole word, our filter is not working and whole grid is showing with [All] selected in filter drop down."

Is there any way to resolve the issue or this is an existing issue.

2 Answers, 1 is accepted

Sort by
0
Anton Mironov
Telerik team
answered on 20 Jul 2021, 08:39 AM

Hello Rahul,

Thank you for the details provided.

In order to assist you in fixing the pointed issue, I will need a runnable, isolated, sample project with your implementation. Examining this project will let us replicate the issue locally and further troubleshoot it.

Furthermore, for achieving the desired behavior, I would recommend using the Kendo UI Filter widget:

Make the needed tests locally with the Filter widget and observe the results.

I hope this information helps.

Kind Regards,
Anton Mironov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Rahul
Top achievements
Rank 1
Iron
answered on 21 Jul 2021, 10:41 AM

Hi Anton,

As per your suggestion, I have attached a runnable, isolated, sample project with full implementation. You can run the project and verify the issue. 

Please have a look and I am looking forward your positive response.

Thank You

Rahul

Anton Mironov
Telerik team
commented on 26 Jul 2021, 09:08 AM

Hi Rahul,

Feel free to correct me if I misunderstood something. 

As I can see, the project, the issue, and the task should be addressed to the AJAX team. Let me know if this is the case and I will address it to them for further investigation and assistance.

Best Regards,
Anton Mironov

Rahul
Top achievements
Rank 1
Iron
commented on 27 Jul 2021, 11:56 AM

Hi Anton,

Yes the issue is related to ASP.NET AJAX team. Please addressed this issue to the AJAX team.

Thanks,
Rahul Goel
Doncho
Telerik team
commented on 30 Jul 2021, 09:59 AM

Hi Rahul,

Thank you for the provided sample and additional information!

We will research this issue and will come back to you.

Tags
DropDownList Grid
Asked by
Rahul
Top achievements
Rank 1
Iron
Answers by
Anton Mironov
Telerik team
Rahul
Top achievements
Rank 1
Iron
Share this question
or