Completed
Last Updated: 21 Jul 2014 08:11 by ADMIN
ADMIN
Danail Vasilev
Created on: 22 Oct 2013 16:36
Category: FormDecorator
Type: Bug Report
3
FIX Firefox and Chrome freeze when a container with a select element is made visible with JavaScript and RadFormDecorator is present on the page
In Q3 2013 Firefox and Chrome freeze when a container with a select element is made visible with JavaScript and RadFormDecorator is present on the page.

The issue will be fixed for the upcoming Q3 2013 SP1. For the time being possible workarounds are:

    - Setting the ControlsToSkip property of the RadFormDecorator to "Select".
    - OR placing the provided JavaScript code from the attached archive below the declaration of the RadFormDecorator.

Sample scenarios that reproduce the issue are:

    - Expanding an inner item from a RadPanelBar. The RadPanelBar has multiple Items that contain select elements and a RadFormDecorator is present on the page.
    - JavaScript is used to set the display property of a container with a select element to "block" for example, multiple containers with select elements are present on the page and RadFormDecorator is used. For example:
JavaScript:

<script type="text/javascript">
    function pageLoad() {
        $get("div1").style.display = "block";
    }
</script>

ASPX:

<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />
<div id="div1" style="display: none;">
    <select>
        <option>text1</option>
        <option>text2</option>
        <option>text3</option>
    </select>
</div>
<div id="div2" style="display: none;">
    <select>
        <option>text1</option>
        <option>text2</option>
        <option>text3</option>
    </select>
</div>
0 comments