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

IE 8 error with multiple comboboxes

6 Answers 91 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Datamex
Top achievements
Rank 2
Datamex asked on 18 Aug 2009, 10:28 AM
Hi,

We are using a formview with multiple usercontrols.
In each usercontrol are one or more comboboxes.

The comboboxes in a usercontrol are inside an asp:updatepanel.
When i select an item in a combobox the other comboboxes on the page are getting messed up.

You can see this in the following link:
http://bart.nimio.info/images/fora/popup.jpg

Is there a solution for this problem?

6 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 18 Aug 2009, 04:23 PM
Not sure exactly what the picture is supposed to show - are the other comboboxes being overlapped by the selected comboboxes? Perhaps you could set the z-index of the boxes to different values?
http://www.telerik.com/help/aspnet/combobox/radcombobox-telerik.webcontrols.radcombobox-zindex.html
Also, did you make sure that this behaved correctly in other browsers? I'm assuming you did but always good to make sure!
0
Datamex
Top achievements
Rank 2
answered on 19 Aug 2009, 06:37 AM
Hi,

When i open the comboboxes they are indeed overlapping each other.
The overlapping works fine without the zindex, i tried it but it makes no difference.

When i open the user control the comboxes are displayed normally.
But when i change a value in a combobox that triggers a postback, then all the comboboxes get messed up like in the picture.

This happens when the statecombobox triggers a databind on the SubStateCombobox.
In ie7 and firefox everything works fine.

I use the following code for the usercontrol, it is in an updatepanel.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AppointmentTypes.ascx.cs" 
  Inherits="Datamex.Projects.Saturnus.UserControls.AppointmentTypes" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:UpdatePanel ID="UpdateAppointment" runat="server">  
  <ContentTemplate> 
    <table> 
        <tr> 
          <td style="width: 90px; height: 27px;">  
            Status:  
          </td> 
          <td> 
            <telerik:RadComboBox ID="StateComboBox" runat="server" AutoPostBack="True" DataSourceID="StateDataSource"     
              DataTextField="Description" DataValueField="AppointmentStateID" OnSelectedIndexChanged="StateComboBox_SelectedIndexChanged" /> 
          </td> 
        </tr> 
        <tr> 
          <td style="width: 90px; height: 27px;">  
            SubStatus  
          </td> 
          <td> 
            <telerik:RadComboBox ID="SubStateComboBox" runat="server" EmptyMessage="Geen substatus" 
              AppendDataBoundItems="True" DataSourceID="SubStateDataSource" DataTextField="Description" 
              DataValueField="AppointmentSubStateID"   
              ondatabinding="SubStateComboBox_DataBinding">  
              <Items> 
                <telerik:RadComboBoxItem runat="server" Text="" Value="" Selected="true" /> 
              </Items> 
            </telerik:RadComboBox> 
          </td> 
        </tr> 
        <tr> 
          <td style="width: 90px; height: 27px;">  
            Type  
          </td> 
          <td> 
            <telerik:RadComboBox ID="TypeComboBox" runat="server" DataSourceID="TypeDataSource" 
              DataTextField="Description" DataValueField="AppointmentTypeID" /> 
          </td> 
        </tr> 
        <tr> 
          <td style="width: 90px; height: 27px;">  
            Prioriteit  
          </td> 
          <td> 
            <telerik:RadComboBox ID="PriorityComboBox" runat="server">  
              <Items> 
                <telerik:RadComboBoxItem runat="server" Text="Laag" Value="3" /> 
                <telerik:RadComboBoxItem runat="server" Selected="True" Text="Gemiddeld" Value="2" /> 
                <telerik:RadComboBoxItem runat="server" Text="Hoog" Value="1" /> 
              </Items> 
            </telerik:RadComboBox> 
          </td> 
        </tr> 
    </table> 
  </ContentTemplate> 
</asp:UpdatePanel> 
<asp:LinqDataSource ID="StateDataSource" runat="server" ContextTypeName="Datamex.Projects.Saturnus.DataAccess.DALDataContext" 
  TableName="AppointmentStates" Where="IsActive == @IsActive">  
  <WhereParameters> 
    <asp:Parameter DefaultValue="true" Name="IsActive" Type="Boolean" /> 
  </WhereParameters> 
</asp:LinqDataSource> 
<asp:LinqDataSource ID="SubStateDataSource" runat="server" ContextTypeName="Datamex.Projects.Saturnus.DataAccess.DALDataContext" 
  TableName="AppointmentSubStates" Where="AppointmentStateID == @AppointmentStateID &amp;&amp; IsActive == @IsActive">  
  <WhereParameters> 
    <asp:ControlParameter ControlID="StateComboBox" DefaultValue="0" Name="AppointmentStateID" 
      PropertyName="SelectedValue" Type="Int32" /> 
    <asp:Parameter DefaultValue="true" Name="IsActive" Type="Boolean" /> 
  </WhereParameters> 
</asp:LinqDataSource> 
<asp:LinqDataSource ID="TypeDataSource" runat="server" ContextTypeName="Datamex.Projects.Saturnus.DataAccess.DALDataContext" 
  TableName="AppointmentTypes" Where="IsActive == @IsActive">  
  <WhereParameters> 
    <asp:Parameter DefaultValue="true" Name="IsActive" Type="Boolean" /> 
  </WhereParameters> 
</asp:LinqDataSource> 
 
0
Veselin Vasilev
Telerik team
answered on 21 Aug 2009, 06:50 AM
Hi Datamex,

Does it happen with the latest version? Do you get the same behavior if you use the user control out of the formview? What about if you remove the update panel?

Kind regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Datamex
Top achievements
Rank 2
answered on 21 Aug 2009, 07:18 AM
Hi Veselin,

We are using the latest 817 version.
When i move the usercontrol out of the formview, it works fine. But that is not a solution for me.
I tried to use a radmanagerproxy instead of the updatepanel, this will only mess up the dropdownlists i'm updating. Instead of all the dropdownlists.

I think the problem is that i'm using a page with a formview inside a radwindow. Because when i start the page without the radwindow everything works fine. But i need that radwindow because i'm using it to insert an appointment on your scheduler control.

I hope you can find the problem with the additional information i gave you and provide a solution.

Thanks in advance.

Datamex
0
Veselin Vasilev
Telerik team
answered on 25 Aug 2009, 08:31 AM
Hi Datamex,

I think the best and fastest way to proceed is to send us a sample project demonstrating the issue.

Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Datamex
Top achievements
Rank 2
answered on 09 Sep 2009, 05:57 PM
Ok.

I posted a support ticket for this problem with the sample project.

Ticket ID is : 241439
Hope you can solve my problem.

Greetings Datamex
Tags
ComboBox
Asked by
Datamex
Top achievements
Rank 2
Answers by
Schlurk
Top achievements
Rank 2
Datamex
Top achievements
Rank 2
Veselin Vasilev
Telerik team
Share this question
or