Conditional Formatting

5 posts, 0 answers
  1. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 12 Jun 2012 Link to this post

    Hi..
    How do you do conditional formatting with the combox?
    For example any name that start with 'A' change the background to green and the font to bold.
    thanks in advance
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 13 Jun 2012 Link to this post

    Hello,

    You should be able to achieve this using the ItemTemplateSelector property of the RadComboBox.

    Please give it a try and let us know if that worked for you.

    Kind regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 13 Jun 2012 Link to this post

    Can please point me to a sample that does this?
    thanks
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 14 Jun 2012 Link to this post

    Hello,

    I have prepared and attached a simple project recreating the conditional templating of RadComboBox. Also you can read this article about DataTemplateSelector.

    All the best,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 15 Jun 2012 Link to this post

    thanks!!!!!!!!!!!!!!!!!!!!!
    Works great
Back to Top
DevCraft banner