This is a migrated thread and some comments may be shown as answers.

Multi-Column RadComboBox Not Populating Correctly in RadWindow

1 Answer 65 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 15 Dec 2012, 12:14 AM
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

1 Answer, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 15 Dec 2012, 03:35 AM
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
Tags
ComboBox
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Share this question
or