DataFilter operations

5 posts, 0 answers
  1. Pavel
    Pavel avatar
    4 posts
    Member since:
    Feb 2012

    Posted 15 Jan 2013 Link to this post

    Hi,
    how can i add all types of operations (Less than, Is greater then, etc.) for type of string?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Jan 2013 Link to this post

    Hello,

    Actually those operators are not applicable for type String. They can be used for values that can be compared through the ">", ">=", "<" and "<=" operations.

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Pavel
    Pavel avatar
    4 posts
    Member since:
    Feb 2012

    Posted 15 Jan 2013 Link to this post

    Ok, but what if i have custom combobox with strings in right part? But type of left part is for ex. integer. 
    Selected value of combobox does not saves because of internal error (can't cast string to int)
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Jan 2013 Link to this post

    Hi,

    I am not sure how have you done your implementation so that to filter with the combobox, have you used approach similar to the one described in this help article?

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Pavel
    Pavel avatar
    4 posts
    Member since:
    Feb 2012

    Posted 15 Jan 2013 Link to this post

    Exactly that aproach. 
    Left part is type of int,
    but in right part i've got enumeration of strings.
    To build expression to compare two proerties of objects.
Back to Top
DevCraft banner