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

Display issues

2 Answers 40 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sylvain
Top achievements
Rank 1
Sylvain asked on 28 Dec 2010, 04:21 PM
Hello

I'm having issues with a combobox trying to reproduce the validation groups example.
However my issues have nothing to do with the validations groups but only with the display of the RadComboBoxItem (cf. attached screenshot)
 
Here is my ASPX code :

<label>Project : </label> <telerik:RadComboBox ID="ComboBoxProjects" Width="180px" runat="server" />

And my C# code :

protected void Page_Load(object sender, EventArgs e)
 {
        if (!IsPostBack)
        {
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("- Search in -"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("All Platforms"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("ASP.NET"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WinForms"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Silverlight"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WPF"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Reporting"));
         }
}


Thank you for your help, I start to be kind of desperate here T_T
Sylvain

2 Answers, 1 is accepted

Sort by
0
Sylvain
Top achievements
Rank 1
answered on 28 Dec 2010, 04:49 PM
It seems to come from my CSS file, since when I remove it everything works.
But I can't put my finger on the source of the problem ...
0
Sylvain
Top achievements
Rank 1
answered on 28 Dec 2010, 05:18 PM
Found it ...
It was default css properties of "ul" and "li" that were messing with the controls.
Everything works now.

*  End of my monologue  *
:)
Tags
ComboBox
Asked by
Sylvain
Top achievements
Rank 1
Answers by
Sylvain
Top achievements
Rank 1
Share this question
or