IE 8 error with multiple comboboxes

7 posts, 0 answers
  1. Datamex
    Datamex avatar
    161 posts
    Member since:
    Jun 2012

    Posted 18 Aug 2009 Link to this post

    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?
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 18 Aug 2009 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Datamex
    Datamex avatar
    161 posts
    Member since:
    Jun 2012

    Posted 19 Aug 2009 Link to this post

    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> 
     
  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 21 Aug 2009 Link to this post

    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.
  6. Datamex
    Datamex avatar
    161 posts
    Member since:
    Jun 2012

    Posted 21 Aug 2009 Link to this post

    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
  7. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 25 Aug 2009 Link to this post

    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.
  8. Datamex
    Datamex avatar
    161 posts
    Member since:
    Jun 2012

    Posted 09 Sep 2009 Link to this post

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