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

Selected Value

4 Answers 72 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Aris
Top achievements
Rank 1
Aris asked on 27 Oct 2008, 12:43 PM
It can't be so difficult....can you please help me and tell me what i am doing wrong??

i am want to "SEE" the selected value of a combox , here is a very simple sample code

protected void Page_Load(object sender, EventArgs e) { 
            RadComboBox1.Items.Add(new RadComboBoxItem("One", "1")); 
            RadComboBox1.Items.Add(new RadComboBoxItem("Two", "2")); 
            RadComboBox1.Items.Add(new RadComboBoxItem("Three", "3")); 
            RadComboBox1.Items.Add(new RadComboBoxItem("Four", "4")); 
            RadComboBox1.SelectedValue = "3";           
        } 

all i want is when page loads the combobox to display "Three", the value is selected when i open the dropdown but when it is collapsed i see nothing...

4 Answers, 1 is accepted

Sort by
0
Aris
Top achievements
Rank 1
answered on 29 Oct 2008, 07:56 AM
Is it so difficult for someone to answer my simple question pls???
0
Yana
Telerik team
answered on 29 Oct 2008, 08:58 AM
Hi Aris,

I am not able to replicate this issue, please send us the definition of RadComboBox and the events attached to it, so we can examine it.

Kind regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Aris
Top achievements
Rank 1
answered on 29 Oct 2008, 10:07 AM
Ok i give up, it has something to do with Internet Explorer.

I tested the page at Firefox and worked great. I am using IE 7 and Vista, the problem points somehow at the drawing of the object, even if when i open the RadCombo is see the selectedvalue, nothing is visible when it is collapsed. I minimize-maximize window, alt-tab other applications and after a while when i return to IE i see the value......
0
Yana
Telerik team
answered on 30 Oct 2008, 11:15 AM
Hello Aris,

Please download the attached sample project and test it in IE, could you reproduce the issue? Also do you have RadFormDecorator on your page or any custom css which may cause this problem?

Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Aris
Top achievements
Rank 1
Answers by
Aris
Top achievements
Rank 1
Yana
Telerik team
Share this question
or