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

Selected Item is Displayed Blank on IE, but not Chrome

5 Answers 31 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 12 Jun 2013, 06:01 PM
I'm using VS 2012 on Windows 8.  Works fine on Chrome, but when I'm using IE it's blank every time I manually select it.  If I set it programatically at the start then I can see it. Or if I set AutoPostback=true, then I can see it too.

I'm just using a dictionary to fill my combo box

<telerik:RadComboBox ID="rcbSeasonsFilt"
 
    EmptyMessage="Change Season" DataTextField="Key"
    runat="server" DataValueField="Value" />

EDIT, I'm using q1 2013 asp.net 4.5 v 2013.1.220.45

5 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 17 Jun 2013, 08:40 AM
Hello Dan,

Would you provide us with your implementation, which you use to populate the RadComboBox with data? Thus we would be able to inspect the issue locally and troubleshoot it for you.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
danparker276
Top achievements
Rank 2
answered on 17 Jun 2013, 04:21 PM
It fills the datasource ok, the display is just blank when it's selected.  I'm using the metro skin

protected void Page_Init(object sender, EventArgs e)
{     
    rcb.DataSource = DBCalls.GetSeasons(); //Calls the DB and returns a dictionary Dictionary<string,string>
    rcb.DataBind();




0
Nencho
Telerik team
answered on 19 Jun 2013, 03:20 PM
Hello Dan,

I tried to replicate the faced issue, base on the provided code snippet, but to no avail. Here is a video, demonstrating the behavior at my end. In addition, I am sending you the sample page, I have tested with. Please correct me, if I had missed something.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
danparker276
Top achievements
Rank 2
answered on 19 Jun 2013, 05:14 PM
Ok, I figured it out.  I had nchar in my database instead of nvarchar.  So if you change the dictionary in your example to:
        { "Low                                             ","0"}, 
        { "Normal                                            ","1"}, 
        { "High                                               ","2"} };

You'll see the same thing.   The combo box will scroll all the way to the right for IE, but not for Chrome.  And the asp:DropDownList looks ok the the char.  I'm changing my database to nvarchar, so this really doesn't matter to me, but it does work differently in IE than Chrome.
0
Nencho
Telerik team
answered on 21 Jun 2013, 02:21 PM
Hello Dan,

Thank you for pointing that out and sharing it with the community.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
ComboBox
Asked by
danparker276
Top achievements
Rank 2
Answers by
Nencho
Telerik team
danparker276
Top achievements
Rank 2
Share this question
or