Multi-Column RadComboBox Not Populating Correctly in RadWindow

2 posts, 0 answers
  1. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 14 Dec 2012 Link to this post

    Using the RadComboBox for the first time, I first implemented it on a test page to ensure I figured out how to implement it properly.  After a little trial & error, I got it working, displaying 2 columns of a DataTable as is shown in the first attachment.

    Now I'm trying to implement it for real, which happens to be in a RadWindow dialog box.  Yet, as the 2nd attachment shows, it's not populating in the same way.  Not only does it only have just one column, but even the basic appearance of the collapsed RadComboBox is different:
    • In the test case it appeared grey in colour
    • In the RadWindow it appears white in colour, indistinguishable from the standard DropDown ListBox

    What do I need to do with the RadWindow implementation to get it to populate correctly?

    Robert

  2. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 14 Dec 2012 Link to this post

    I figured out the problem.  It has nothing to do with Rad Window.

    In my actual app I have a special method called "WireUpControls" that does precisely what its name implies.  It also takes the liberty of setting various properties that I know will be the default of all controls of that type in my app.

    For the RadComboBox I had done this: radList.RenderingMode = RadComboBoxRenderingMode.Simple;

    The explanation of "RenderingMode" was not clear in the documentation.  I thought it meant the difference between using the control as a "ComboBox" vs. a "DropDownList".  I was wrong.

    Leaving this property as the default "Full" instantly gave me the multiple columns I was wanting!

    Robert
Back to Top