JavaScript critical error using RadScriptManager

3 posts, 0 answers
  1. RYNETECH
    RYNETECH avatar
    15 posts
    Member since:
    Feb 2007

    Posted 17 Aug 2013 Link to this post

    Greetings, I have a project that I am trying to implement your RadControls with.  Everything works fine until I drop a RadScriptManager onto the page.  I'm trying to replace the following ScriptManager tag with a RadScriptManager, but am getting a JavaScript Critical Error message at startup.  Please note that the web page includes some DevExpress controls, and not just RadControls.  Please advise.

    WORKS WITH THIS
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True" AsyncPostBackTimeout="360000">
            <Scripts>
                <asp:ScriptReference Path="~/Scripts/jquery-1.9.0.min.js" />
                <asp:ScriptReference Path="~/Scripts/jquery.simplemodal.js" />
                <asp:ScriptReference Path="~/Scripts/ui-helper.js" />
            </Scripts>       
    </asp:ScriptManager>

    DOESN'T WORK WITH THIS
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePartialRendering="True" AsyncPostBackTimeout="360000">
            <Scripts>
                <asp:ScriptReference Path="~/Scripts/jquery-1.9.0.min.js" />
                <asp:ScriptReference Path="~/Scripts/jquery.simplemodal.js" />
                <asp:ScriptReference Path="~/Scripts/ui-helper.js" />
            </Scripts>
        </telerik:RadScriptManager>

    I'M RECIEVING THE FOLLOWING ERROR AT APPLICATION STARTUP

    JavaScript critical error at line 1, column 1 in http://localhost:16383/MarketOz/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:c9cbdec3-c810-4e87-846c-fb25a7c08002:ea597d4b:b25378d2

    SCRIPT1014: Invalid character



  2. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 21 Aug 2013 Link to this post

    Hi Roger,

    There seems to be a javascript error manifesting with the RadScriptManager. Could you provide a sample page or a live Url, so that we can examine exactly what this error is?
     

    Regards,
    Bozhidar
    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. Manik
    Manik avatar
    7 posts
    Member since:
    Oct 2011

    Posted 26 Feb in reply to RYNETECH Link to this post

    were you able to resolve this?

    i am getting this error too.

Back to Top