How to get the Radfilter input value

2 posts, 0 answers
  1. Y
    Y avatar
    17 posts
    Member since:
    Sep 2011

    Posted 17 May 2012 Link to this post


    RadFilterSqlQueryProvider provider = new RadFilterSqlQueryProvider();

                string searchStr = provider.Result;
    I can get the where values.But my some filed is nvarchar type.So must add 'N' before the where value.
    e.g. : N'unicode values'.
    How to do it? Please help.

  2. Antonio Stoilkov
    Antonio Stoilkov avatar
    530 posts

    Posted 21 May 2012 Link to this post


    You could achieve your scenario by accessing the RadFilterSqlQueryProvider Result property value and manipulate it. You could loop through the string and check every field that need to be added an N before the value.

    Antonio Stoilkov
    the Telerik team
    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.
Back to Top