Sys undefined with RadButton in Composite Control (IE7 mode)

3 posts, 0 answers
  1. Veronique
    Veronique avatar
    19 posts
    Member since:
    Jul 2011

    Posted 08 Apr 2013 Link to this post

    I am facing a problem.
    I am currently using Telerik version 2012.2.724.40 and everything is working.
    However, I am unable to upgrade to version 2013.1.326.40. 
    When I do, I get the following error:
    Sys is undefined
    "ASP.NET Ajax client-side framework failed to load."

    I tried everything posted on your forum with no success so I decided to narrow the bug and found the cause.

    I am using a RadButton in a composite control.
    Because our clients are mainly using IE7, all our applications are designed in IE7 mode.
    This is the cause of the bug.  I get no error if I remove the IE7 mode.
    <head runat="server">
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

    I must keep the Ie7 mode.  Is there a workaround ?
    Here is a code sample reproducing the bug.

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI.WebControls;
    using Telerik.Web.UI;
    namespace TestCompositeControl
        public class MyCompositeControl : CompositeControl
            protected override void CreateChildControls()
                RadButton radButtonTest = new RadButton();
                radButtonTest.ID = "radButtonTest";
                radButtonTest.Text = "Test";

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestCompositeControl.Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><%--Remove this line to hide the bug.--%>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableEmbeddedjQuery="true" />
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"/>
            Remove the IE=EmulateIE7 to hide the bug.<br />
            <uc:MyCompositeControl id="MyCompositeControl1" runat="server"></uc:MyCompositeControl>

        <compilation debug="true" targetFramework="4.0" />
            <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
            <add tagPrefix="uc" namespace="TestCompositeControl" assembly="TestCompositeControl" />
  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 10 Apr 2013 Link to this post

    Hello Veronique,

    I have reproduced the described issue with version 2013.1.326.40. Note that this is the latest internal build and it is possible to arise some issue in the internal build as it is not a stable version.

    You can, however, download and install the Q1 2013 SP (version 2013.1.403) which is the latest official version and it does not reproduce the issue. You can also find useful this blog post related on how to easily upgrade your version of RadControls.

    All the best,
    Danail Vasilev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Veronique
    Veronique avatar
    19 posts
    Member since:
    Jul 2011

    Posted 10 Apr 2013 Link to this post

    Q1 2013 SP (version 2013.1.403)  is working perfectly. 
    Thanks for the quick fix !!!
Back to Top