Combobox column

3 posts, 0 answers
  1. Thomas
    Thomas avatar
    58 posts
    Member since:
    Jun 2009

    Posted 24 Nov 2009 Link to this post

    Hi.

    At the moment I can only show one property in the gridviewcomboboxcolumn; the property name I assign to the displaymemberpath.

    What I like to do, is to show a datatemplate where I use a combination of several properties of the itemssource e.g. Firstname and Lastname. Is this possible?

    Thanks,

    Thomas
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 27 Nov 2009 Link to this post

    Hi Thomas,

    You can add a new read-only property to your business object class which will return FirstName + LastName and set this property as the DisplayMemberPath.

    Regards,
    Ross
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Thomas
    Thomas avatar
    58 posts
    Member since:
    Jun 2009

    Posted 30 Nov 2009 Link to this post

    Hi,

    Yes, that's a very good idea.

    Thanks,
    Thomas

Back to Top