Sys.Extended.UI - Framework 4.0 Error

3 posts, 0 answers
  1. Brett
    Brett avatar
    11 posts
    Member since:
    Jan 2012

    Posted 11 Oct 2013 Link to this post

    I've seen some posts in here about this issue but none seem to be answered.

    I'm developing an ASP.Net Website using the AjaxControlToolkit - September 2013 release along with the Q2 2013 SP1 release of the Telerik.Web.UI controls.

    I have a RadScriptManager on my page:
    <telerik:RadScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>

    I also have an AjaxToolkit:ModalPopupExtender that, when the application is ran, throws the following Javascript error:
    Microsoft JScript runtime error: 'Sys.Extended.UI' is null or not an object

    If I replace my RadScriptManager with an AjaxToolkit:ToolkitScriptManager, it works fine.

    I believe this issue is because in the 3.5 and up frameworks for the AjaxControlToolkit, the namespace changed from AjaxControlToolkit to Sys.Extended.UI.

    I just need to know how to make my RadScriptManager work with the latest AjaxControlToolkit so I don't get this error.

    Thanks!
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 16 Oct 2013 Link to this post

    Hello Brett,

    Latest AJAX Control Toolkits could not work with RadScriptManager and there is no available workaround for this. The AJAX Control Toolkit requires that you use ToolkitScriptManager instead in order to work correctly.

    Attached you could find a sample page with "ModalPopupExtender" with RadGrid in it that works without any issues. 

    Moreover, you could use our RadWindow instead of the ModalPopupExtender, thus will make the use of RadScriptManager possible.


    Regards,
    Konstantin Dikov
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brett
    Brett avatar
    11 posts
    Member since:
    Jan 2012

    Posted 16 Oct 2013 Link to this post

    Hi Konstantin,
        It looks like if I just use the Ajax ToolScriptManager control the code will still work. It threw some other javascript errors but I was able to work around those as well.

    Thanks!
    Brett
Back to Top