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

[Solved] Selected value doesn't show in IE 6

1 Answer 89 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Martin Bussieres
Top achievements
Rank 1
Martin Bussieres asked on 30 Jun 2008, 07:27 PM
Hello. I just upgrade my project from sp1 to sp2 (2008.1.619.20)
I'm using the combobox inside a detail view. 
The binded selected value doesn't appear under ie6 but is correct under firefox 2.
It was working fine before the upgrade.
The only change made is the reference to the new telerik ddl.

 Thanks, MBus

<

asp:TemplateField HeaderText="<%$ Resources:langue, NomTypeVehicule %>" HeaderStyle-CssClass="ChampObligatoire">

<EditItemTemplate>
<telerik:RadComboBox ID="lstTypeVehicule" runat="server" SelectedValue='<%# bind("id_typ_veh") %>' Width="450" DataSourceID="odsTypeVehicule" AllowCustomText="false" AppendDataBoundItems="true" DataTextField="nom_typ_veh" DataValueField="id_typ_veh" Skin="Outlook" MarkFirstMatch="true">

<Items><telerik:RadComboBoxItem Text="<%$ Resources:langue, Choisir %>" runat="server" /></Items></telerik:RadComboBox>


1 Answer, 1 is accepted

Sort by
0
Accepted
Rosi
Telerik team
answered on 01 Jul 2008, 06:21 AM
Hi Martin Bussieres,

This problem appears if you use RadFormDecorator on the same page with RadComboBox. We believe that this issue is caused from a bug in IE when table with table-layout = fixed is placed inside another table (RadComboBox represents a table with  table-layout = fixed ) and RadFormDecorator applies its styles.

This problem will be fixed to the next official release ,meanwhile you can workaround it as follows:

1. Place RadFormDecorator in the beginning of the page.
2. Hook on OnClientEvent of RadComboBox and execute the following code.
  <script type="text/javascript">  
            function OnClientLoad(sender)  
            {  
                var input = sender.get_inputDomElement();                                  
                if (input.style.cssText != null) input.style.cssText = input.style.cssText;         
            }  
            </script> 


Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Martin Bussieres
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or