Custom RadFilter 'IN' filter

2 posts, 0 answers
  1. Adam
    Adam avatar
    1 posts
    Member since:
    Jan 2014

    Posted 20 Jan 2014 Link to this post


    I am trying to implement a filter from a combobox with checkboxes enabled in order to create a where clause that would look a bit like

    WHERE MyId in (1,2,3,4)

    I create the combobox with checkbox option on during 'OnExpressionItemCreated', but am having trouble applying the selected values to the filter.

    I have tried in 'OnExpressionEvaluated' to reformat the evaluationData ExpressionFormat and Value to produce what I am looking for to no avail. I have also tried in the same method to create a group expression as a series of 'ORs', but can't figure out how to get this group expression to replace the original 'RadFilterNonGroupExpression'.

    Any ideas how I could achieve my goal?
  2. Kostadin
    Kostadin avatar
    1687 posts

    Posted 23 Jan 2014 Link to this post

    Hello Adam,

    I would recommend you to examine the following help articles which describes how to achieve your requirement:
    Creating Custom Field Editors
    Building Filter Expressions Manually

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top