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

Silverlight TelerikGrid EndsWith Filter Not Working For Values Having Leading Spaces (Trailing Spaces)

1 Answer 56 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Sandeep
Top achievements
Rank 1
Sandeep asked on 17 Feb 2015, 11:08 PM
Hello,

I'm having problem binding the data to the grid when I filter using the operator EndsWith.

In the database the values of the column have the Leading Spaces, and I had problem making iit work for IsEqualTo also but I fixed it by padding leading spaces to the right of the input string. (as shown below)



But, I'm not sure how I should do it for the EndsWith Filter Operator.

I'm able to get the rows from the database by using where condition like '%ABC'.

But the rows are not binding to the grid.

Please advice.

Regards,
Sandy

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 20 Feb 2015, 12:31 PM
Hello Sandeep,

Could you let me know whether you are using a RadGrid for Silverlight or UI for ASP.NET AJAX? Additionally I would recommend to sent the grid code declaration and the related code behind to better understand your scenario.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Filter
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or