ComboBox Filter Displays SelectedValueMemberPath

7 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 28 Dec 2010 Link to this post

    Hi,

    Is there a way to have the RadGridView filter use the DisplayMemberPath instead of the SelectedValueMemberPath.  For example I am using a combobox for Countries, so when the filter shows the SelectedValueMemberPath it has little meaning.   I temporarily changed to a simple name list and that works for now.  The problem will come later when I need to change the spelling.  I am also using other combobox columns where the need to change the spelling will be much more likely than a country column.

    Thanks
    Rich
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 29 Dec 2010 Link to this post

    Hi Richard Harrigan,

    You may take a look at this blog post demonstrating how to filter the GridViewComboBoxColumn on the basis of its displayed value.
     

    Regards,
    Maya
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 31 Mar 2011 Link to this post

    Hello Maya,
    Thank you for the links. They offer a solution to the problem. That's right.
    But what I want is not a custom filter control. I want to use the same standard filter control then the other columns.
    Meaning the default filter control which is nice, just not displaying user readable info ;)
    How can I use the default filter control in the case of my combobox filter?

    Thanks a lot in advance,
    John.
  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 01 Apr 2011 Link to this post

    Hi John,

    Currently, you can't do that. That is why we have prepared the blog post with the sample project in the first place.

    Thank you for your understanding.

    All the best,
    Ross
    the Telerik team
  6. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 05 Apr 2011 Link to this post

    Hello Ross,
    I have to admit that I don't understand why I should come out with some custom code to make work such a commonly used scenario...
    The thing is that I do not want to have a different GUI when filtering a dropdowncolumn. Your default filter dialog box is very nice.
    I want to use it and not some crappy dialog that I would build myself.
    I want my UI to look slick and uniform...
    Is there a way I can get ccess to that dialog to be able to reuse it?
    Thanks a lot in advance,
    John.
  7. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 05 Apr 2011 Link to this post

    Hello John,

    We have some plans to provide this out-of-the-box for a future version. Until then, the sample from the blog is the only solution.

    Best wishes,
    Ross
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 05 Apr 2011 Link to this post

    Then, I guess I'll have to wait...

    Until then, I'll tell my customers the UI is ugly thanks to Ross ;)

    Best regards,
    John.
Back to Top
DevCraft banner