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

5 posts, 0 answers
  1. Richard
    Richard avatar
    6 posts
    Member since:
    Jan 2009

    Posted 11 Jun 2013 Link to this post


    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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <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="http://www.c2i.fr" 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.



  2. Marin Bratanov
    Marin Bratanov avatar
    5014 posts

    Posted 12 Jun 2013 Link to this post

    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 - http://www.c2i.fr) 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.
  3. Quest
    Quest avatar
    6 posts
    Member since:
    Nov 2016

    Posted 15 Nov 2016 in reply to Marin Bratanov Link to this post

    Telerik.Web.UI.WebResource.axd   ... Where this file physically Exists in project ???
  4. Marin Bratanov
    Marin Bratanov avatar
    5014 posts

    Posted 15 Nov 2016 Link to this post


    This is an HTTP handler that returns the appropriate information requested via WebResources: http://docs.telerik.com/devtools/aspnet-ajax/general-information/web-config-settings-overview.


    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.
  5. Quest
    Quest avatar
    6 posts
    Member since:
    Nov 2016

    Posted 15 Nov 2016 in reply to Marin Bratanov Link to this post

    Thanks  @Marin Bratanov :  Please Respond on this :  http://www.telerik.com/forums/grid-binding-with-odd-behavior
Back to Top