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

JavaScript critical error using RadScriptManager

2 Answers 159 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
RYNETECH
Top achievements
Rank 1
RYNETECH asked on 18 Aug 2013, 03:11 AM
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 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 21 Aug 2013, 06:05 AM
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.
0
Manik
Top achievements
Rank 1
answered on 26 Feb 2016, 09:26 PM

were you able to resolve this?

i am getting this error too.

Tags
ScriptManager and StyleSheetManager
Asked by
RYNETECH
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Manik
Top achievements
Rank 1
Share this question
or