ComboBox FlatStyle Bugs

I've been working with the combobox, and it appears that the FlatStyle property has some bugs in how it renders the combobox.  When setting the property to FlatStyle.Flat, it doesn't render correctly when using anchoring to resize the item; instead, you can see two items, one with the original painting of the flat combobox, then the resized combobox under windows style.  When you click on the drop down, this fixes the problem, until it is resized again.

 Using the popup setting works better, but it seems to have some bugs as well.

Comments

# re: ComboBox FlatStyle Bugs

Wednesday, February 13, 2008 11:49 AM by Jeff

If you need a workaround for this, the following works well for me.

private void _cboComboBox_Resize(object sender, EventArgs e)

   {

     _cboComboBox.Refresh();

   }

Hope it helps!!

-Savij

The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.