Selected Item is Displayed Blank on IE, but not Chrome

6 posts, 0 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 12 Jun 2013 Link to this post

    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
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 17 Jun 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 17 Jun 2013 Link to this post

    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();




  5. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 19 Jun 2013 Link to this post

    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.
  6. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 19 Jun 2013 Link to this post

    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.
  7. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 21 Jun 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017