RadCombobox SelectedIndexChanged not firing in IE9

4 posts, 0 answers
  1. Seshadri
    Seshadri avatar
    2 posts
    Member since:
    Feb 2014

    Posted 18 Feb 2014 Link to this post

    Hi Team,

    We use Telerik Web UI DLL, Version 2009:2:826:35.

    We use RadComboBox control to select/type values from dropdownlist. The SelectedIndexChanged event is not getting triggered in IE9, but works fine in lower versions of IE. Kindly let us know if we need to download newer version of the DLL or anything else needs to be changed.

    Code snippet used:

    <telerik:RadComboBox MaxLength="6" runat="server" ID="RadComboBoxMappingType" DataTextField="LookUpvalue"
    DataValueField="LookupTypeID" AutoPostBack="true" AllowCustomText="true" AppendDataBoundItems="true"
    Visible="false" Width="100px" OnSelectedIndexChanged="RadComboBoxMappingType_SelectedIndexChanged">
    <Items>
    <telerik:RadComboBoxItem Text="TypeID/select" Value="0" Selected="true"></telerik:RadComboBoxItem>
    </Items>
    </telerik:RadComboBox>
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Feb 2014 in reply to Seshadri Link to this post

    Hi Seshadri,

    Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end.

    ASPX:
    <telerik:RadComboBox runat="server" ID="RadComboBoxMappingType" AutoPostBack="true"
        Width="100px" OnSelectedIndexChanged="RadComboBoxMappingType_SelectedIndexChanged">
        <Items>
            <telerik:RadComboBoxItem Text="TypeID/select" Value="0" Selected="true"/>
            <telerik:RadComboBoxItem Text="Item1" Value="1" />
            <telerik:RadComboBoxItem Text="Item2" Value="2" />
        </Items>
    </telerik:RadComboBox>

    JavaScript:
    <script type="text/javascript">
        Telerik.Web.UI.RadComboBox.prototype._removeDropDown = function () {
            var slide = this.get_dropDownElement().parentNode;
            slide.parentNode.removeChild(slide);
            if (!$telerik.isSafari)
                slide.outerHTML = null;
            this._dropDownElement = null;
        };
    </script>

    C#:
    protected void RadComboBoxMappingType_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
    {
        Response.Write("fired");
    }

    Please have a look into this documentation to update the Telerik version.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Seshadri
    Seshadri avatar
    2 posts
    Member since:
    Feb 2014

    Posted 19 Feb 2014 in reply to Shinu Link to this post

    Thanks Shinu.

    Problems that I'm facing are:

    1. RadComboBox Selected Index Changed event trigger capture is not occuring everytime. Hence difficult to track.
    2. If the event is triggered, then the selected text and value are empty. We have set default value for the index 0, only that gets listed in the selected index text

    These are not reported if I change the browser setting to IE8 or IE9 compatibility view.

    Kindly help
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Feb 2014 in reply to Seshadri Link to this post

    Hi Seshadri,

    Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample project which works fine at my end.

    Thanks,
    Shinu.
Back to Top