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

Exception with Telerik.Web.UI.WebResource.axd?_TSM_HiddentField_=

4 Answers 153 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Richard asked on 11 Jun 2013, 10:51 AM

In my project, I always have exception with the WebResource.axd. For example:

Exception was thrown at line 4596, column 6 in http://localhost:49573/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:fr-FR:c9cbdec3-c810-4e87-846c-fb25a7c08002:ea597d4b:b25378d2;Telerik.Web.UI:fr-FR:df833b2e-28ee-45e7-8320-6f2a9cb883d7:16e4e7cd:f7645509:22a6274a:ed16cbdc:874f8ea2:24ee1bba:f46195d3:19620875:490a9d4e:bd8f85e4

And error in script is line:

{var f=this



So, as my project is huge, I reproduce it in a simple application:
I had a webpage with a RadWindow. Exception occur (javascript exception).
I had another webpage using a masterpage. This time, RadWindows even do not open!

I think it's a configuration pb but I'm unable to find it.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkingPage.aspx.cs" Inherits="Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<head id="Head1" runat="server">
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <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" />
        <script type="text/javascript">
            //Put your JavaScript code here.
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" />
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
                <telerik:RadWindow ID="RadWindow1" runat="server" Animation="Fade" Modal="True" NavigateUrl="" OpenerElementID="Button1" Style="display: none;" Title="C2I.FR" />
        <asp:Button ID="Button1" runat="server" Text="Button" />

And here is my web.config:

<?xml version="1.0"?>
    <add key="Telerik.Skin" value="Office2010Silver"/>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/>
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/>
    <compilation debug="true" targetFramework="4.0"/>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadCompression"/>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_WebResource_axd"/>
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>

Thank's to take your time to help me.



4 Answers, 1 is accepted

Sort by
Marin Bratanov
Telerik team
answered on 12 Jun 2013, 11:48 AM
Hi Richard,

This code tries to get the document title of the content page that is inside the RadWindow. Since not all pages will come from the same domain the code is inside a try-catch block, so if an external page is loaded (like in your example - the exception that the browser will throw because the access to the iframe document will be denied is trapped in the catch block. This means that this error should not affect your page at all and you could only be able to see it during debugging if the debugger is configured to break on every exception, not only on uncaught ones.

I also tried your markup and things are working fine with me (a video is attached,version tested - 2013.1.417). Am I missing something in my experiment?

Marin Bratanov
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.
Top achievements
Rank 1
answered on 15 Nov 2016, 08:21 AM
Telerik.Web.UI.WebResource.axd   ... Where this file physically Exists in project ???
Marin Bratanov
Telerik team
answered on 15 Nov 2016, 08:28 AM


This is an HTTP handler that returns the appropriate information requested via WebResources:


Marin Bratanov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Top achievements
Rank 1
answered on 15 Nov 2016, 02:20 PM
Thanks  @Marin Bratanov :  Please Respond on this :
ScriptManager and StyleSheetManager
Asked by
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Top achievements
Rank 1
Share this question