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

Javascript Error in IE11 with Decoration of Select Control

1 Answer 49 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 08 Nov 2017, 02:10 AM

We are seeing a JavaScript error when we select an Option in a Select control with a ASP Postback on IE11 via keyboard input.

<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %>
 
<script runat="server">
    void Page_Load(object sender, EventArgs e)
    {
        decorator.DecoratedControls = FormDecoratorDecoratedControls.Select;
    }
</script>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head>
<title>DD Test Page</title>
</head>
 
<body>
 
<form id="DialogForm" runat="server">
    <telerik:RadScriptManager runat="server" />
    <telerik:RadAjaxManager runat="server" />
    <telerik:RadFormDecorator ID="decorator" runat="server" DecorationZoneID="Panel1" EnableEmbeddedSkins="false" RenderMode="Lightweight" />
    <telerik:RadAjaxPanel ID="Panel1" runat="server">
        <asp:DropDownList ID="DD1" runat="server" AutoPostBack="true">
            <asp:ListItem Text="[Select]" Value="" />
            <asp:ListItem Text="T1" Value="1" />
            <asp:ListItem Text="T2" Value="2" />
        </asp:DropDownList>
 
        <asp:Button runat="server" Text="Refresh" />
    </telerik:RadAjaxPanel>
</form>
 
</body>
</html>

 

Reproduce by clicking the DropDown control, and then pressing 'T', and then clicking on a blank section of the page.

Do any workarounds exist for avoiding this error?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Nov 2017, 04:30 PM
Hello Jay,

I was able to reproduce the Unable to get property 'dispatchEvent' of undefined or null reference? error. Unfortunately I wasn't able to find a workaround for it different from removing the AutoPostBack="true" of the dropdown control. 

I logged it for fixing in our bug tracking system and updated your Telerik points.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
FormDecorator
Asked by
Jay
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or