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

2 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    1 posts
    Member since:
    Feb 2015

    Posted 17 Feb 2015 Link to this post


    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.

  2. Kostadin
    Kostadin avatar
    1692 posts

    Posted 20 Feb 2015 Link to this post

    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.


    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top