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

Problem with Telerik.Web.UI, Version=2015.1.225.45

5 Answers 178 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Srinivas
Top achievements
Rank 1
Srinivas asked on 30 Mar 2015, 10:03 PM
We are facing below issue with latest  telerik control please provide help on it, its very urgent


Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35:en-US:f319b152-218f-4c14-829d-050a68bb1a61:ea597d4b:b25378d2;Telerik.Web.UI, Version=2015.1.225.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:d3cd47d0-4d93-4bad-8b9f-f9fea0aa4c69:16e4e7cd:f7645509:24ee1bba:6d43f6d9:2003d0b8:f46195d3:c


below is our config settings




<?xml version="1.0"?>
<configuration>

<appSettings>

<add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

<connectionStrings>

</connectionStrings>
<!--Start CM Config-->
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IReleaseNotesService"/>
<!-- Remove if not using Healthwise Integration -->
<binding name="DrugInteractionsSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="6553600" maxBufferPoolSize="524288" maxReceivedMessageSize="6553600" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="6553600" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
<message clientCredentialType="UserName" algorithmSuite="Default"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://help.Lumeris.com/Api/v1.0/ReleaseNotes.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IReleaseNotesService" contract="Client.IReleaseNotesService" name="BasicHttpBinding_IReleaseNotesService"/>
<!-- Remove if not using Healthwise Integration -->
<endpoint address="http://dicapi.healthwise.net/DrugInteractions.asmx" binding="basicHttpBinding" bindingConfiguration="DrugInteractionsSoap" contract="HealthwiseService.DrugInteractionsSoap" name="DrugInteractionsSoap"/>
</client>
</system.serviceModel>
<!--End CM Config-->


<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<httpRuntime encoderType="System.Web.Security.AntiXss.AntiXssEncoder" requestValidationMode="2.0" executionTimeout="43200" maxRequestLength="1048576" maxQueryStringLength="9999"/>
<compilation debug="false" targetFramework="4.5.1">
<assemblies>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<!--Devexpress-->
<add assembly="Ext.Net, Version=1.0.4093.32349, Culture=neutral, PublicKeyToken=2E12CE3D0176CD87"/>
<!--CM Config-->
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>

</compilation>
<customErrors mode="Off"/>

<authorization>
<deny users="?"/>
</authorization>
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="240"/>

<pages autoEventWireup="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" maxPageStateFieldLength="1000" validateRequest="true" controlRenderingCompatibilityVersion="3.5">
<controls>

<add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

<!--End CM Config-->
</controls>
</pages>
<httpHandlers>
<clear/>

<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
<add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler,Telerik.Web.UI" validate="false"/>
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" validate="false"/>

</httpHandlers>
<httpModules>
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>

</httpModules>

<identity impersonate="false"/>
</system.web>

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800" maxQueryString="9999"/>
</requestFiltering>
</security>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>

<add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>


<!--Start CM Config-->
<add name="TelerikWebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode"/>
<add name="TelerikWebDialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" preCondition="integratedMode"/>
<add name="TelerikChartHandler" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
<add name="TelerikSpellCheckHandler" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler,Telerik.Web.UI"/>
<add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>
<!--End CM Config-->

</handlers>
<defaultDocument>
<files>
<add value="login.aspx"/>
</files>
</defaultDocument>
<httpProtocol>
<customHeaders>
<clear/>
<add name="X-UA-Compatible" value="IE=EmulateIE8"/>
</customHeaders>
</httpProtocol>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 01 Apr 2015, 08:55 PM
Hello,

I assume that you had already revised the following article, describing the cause and the solutions for such problems:
http://www.telerik.com/forums/telerik-web-ui-webresource-axd-unhandled-exception
If you are not, please try the provided solutions and let us know the behavior.

You can also check the following article in the documentation:
http://www.telerik.com/help/aspnet-ajax/web-resources-troubleshooting.html 

Another thing you can try is the script CDN we offer: http://www.telerik.com/help/aspnet-ajax/scriptmanager-cdn-support.html so that the scripts are not loaded from your own server, in case the problem stems from the webresource requests.

If you are using RadScriptManager you can try disabling the script combining by setting the EnableScriptCombine property to false and see if it makes any difference.

Regards,
Pavlina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Srinivas
Top achievements
Rank 1
answered on 19 Jun 2015, 09:22 PM

Still I am getting error, I tried all your suggestions provided in the links. 

I am using RadSplitter in one and showing 2 web pages in that splitter.

All 3 pages have RadScriptmanagers, I tried to replace those with ScriptManager that approach also not working for me.

I tried to remove RadScriptmanager from one child page placed in RadSplitter, not generating any script error, but as you know, without ScriptManager RadPanel in that page is not rendered.I 

I am looking for your help to resolve this script issue.

0
Srinivas
Top achievements
Rank 1
answered on 19 Jun 2015, 09:31 PM
I am attaching error screen and script captured in debug mode, looking for your help ASAP.
0
Pavlina
Telerik team
answered on 24 Jun 2015, 09:36 PM
Hello,

In order to investigate the error further and provide more to the point answer we need to replicate the issue locally. Therefore I would like to ask you to isolate the problem in a sample project and send it to us via support ticket. We will debug it and will provide a solution/fix for it. Thank you for your cooperation in advance.

Regards,
Pavlina
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Guru Karun
Top achievements
Rank 1
commented on 01 May 2025, 11:49 AM | edited

we are using telerik-web-ui version 2015-1-225-45

when we try to open radwindow
facing the issue like : Uncaught TypeError: Cannot read properties of undefined,

here is my aspx client side javascript

var IMPORTID = args;
                var owin = window.radopen(null, "ReqMgrPopUp");
                if (owin) {                    
                    owin.close();
                }                
                owin = window.radopen("../../Reports/Pages/Script/frmScript_report.aspx?IMPORTID=" + IMPORTID, "ReqMgrPopUp");                
                if (owin) {
                    owin.set_title("Blumen Message Wizard");
                    owin.setSize(1080, 600);
                    owin.set_visibleStatusbar(false);
                    owin.show();
                    owin.center();
                }
                else {
                    console.error("RadWindowManager is not initialized.");
                    console.log("RadWindowManager is found."); }

and console ScriptResource response details:

ScriptResource.axd?d=Kq8x-fTxKKZdPEjzECZXG7ivoFQQcDC6hBr2M8BuU2DzJGgw6dqK9Ptqeh7gwc9FN55bCUIlGoEj-JhXlyEvxcqLRUAlHswIYylkQ_v2OQzQ1B0rE9D1oKCaJVFVZIuMSmJxl4J7JjljqSRtzWAhFsNvj7o1&t=112cd203

also find attached script file in plan text format

Note: Radwindow working fine in mozilla firefox, where as in IE and google Chromo not working
exception: Radwindow undefined.

telerik control assigning like

 <telerik:RadWindowManager ID="rwmReqMgr" runat="server" EnableViewState="false">
        <Windows>
            <telerik:RadWindow ID="ReqMgrPopUp" runat="server" ShowContentDuringLoad="true" AutoSize="true"
                VisibleTitlebar="true" Title="Filter Request" Modal="true" ReloadOnShow="true"
                VisibleStatusbar="false">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

Please guide us to resolve this radwindow popup issue

0
Rumen
Telerik team
answered on 01 May 2025, 12:12 PM

Hi Guru,

It looks like the issue you're facing is due to how window.radopen is being accessed before the RadWindowManager is fully initialized, especially in IE and Chrome. In Telerik version 2015.1.225.45, there are some known quirks with RadWindow and how the client-side scripts get initialized across different browsers.

A few things to check and try:

  1. Ensure RadWindowManager is on the page before any scripts run.
    Sometimes, the script runs before the Telerik controls are initialized. You can delay your code execution until the RadWindowManager is ready by wrapping it inside a Sys.Application.add_load or pageLoad()MS AJAX events. For example:
    Sys.Application.add_load(function () {
        var IMPORTID = args;
        var owin = window.radopen(null, "ReqMgrPopUp");
        if (owin) {
            owin.close();
        }
        owin = window.radopen("../../Reports/Pages/Script/frmScript_report.aspx?IMPORTID=" + IMPORTID, "ReqMgrPopUp");
        if (owin) {
            owin.set_title("Blumen Message Wizard");
            owin.setSize(1080, 600);
            owin.set_visibleStatusbar(false);
            owin.show();
            owin.center();
        } else {
            console.error("RadWindowManager is not initialized.");
        }
    });

  2. Use getWindowByName instead of window.radopen.
    You’ve set ID="rwmReqMgr" in your markup. To be more robust, access the RadWindow like this:
    Sys.Application.add_load(function () {
        var IMPORTID = args;
        var manager = $find("<%= rwmReqMgr.ClientID %>");
        if (manager) {
            var owin = manager.getWindowByName("ReqMgrPopUp");
            if (owin) {
                owin.setUrl("../../Reports/Pages/Script/frmScript_report.aspx?IMPORTID=" + IMPORTID);
                owin.set_title("Blumen Message Wizard");
                owin.setSize(1080, 600);
                owin.set_visibleStatusbar(false);
                owin.show();
                owin.center();
            } else {
                console.error("Could not find the RadWindow.");
            }
        } else {
            console.error("RadWindowManager is not initialized.");
        }
    });
    This avoids relying on the global window.radopen, which can be undefined if initialization hasn't completed properly.
  3. Check script loading order.
    Make sure your script is placed after the RadWindowManager declaration.
  4. Browser differences.
    Since it works in Firefox but fails in IE/Chrome, it suggests a race condition or timing issue in script initialization. This was a common issue in older Telerik versions where the Microsoft AJAX framework (ScriptResource.axd) behaves inconsistently across browsers.
  5. Upgrade to the latest version, where the problem is likely fixed.

Security Note:
It’s important to mention that Telerik 2015.1.225.45 is an outdated version and contains known security vulnerabilities, including serious ones like the Telerik UI vulnerability (CVE-2019-18935, and others). For security and browser support and compliance reasons, you should strongly consider upgrading to the latest version of Telerik UI for ASP.NET AJAX to avoid exploitation risks. Many of these vulnerabilities are actively targeted and could expose your application to attacks.

Please try these adjustments and let us know if the issue persists - or if you can open a support ticket and share a minimal reproducible sample for further debugging.

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Guru Karun
Top achievements
Rank 1
commented on 01 May 2025, 12:31 PM | edited

Thank you Rumen for quick response.

But we tried to used  this pease of code :Sys.Application.add_load(function ....

no results.

Here is my complete code behind C# code and front end script

C# code behind aspx.cs

 UbAjaxMngr.ResponseScripts.Add("Report('" + IMPORTID + "');");

front end aspx page

function Report(args) {
                alert("The data has been imported. Please continue to view the Import Report"); //, 400, 200, "App Message Box");
                var IMPORTID = args;
                var owin = window.radopen(null, "ReqMgrPopUp");
                if (owin) {                    
                    owin.close();
                }
                //alert("Its not opened");
                owin = window.radopen("../../Reports/Pages/Script/frmScript_report.aspx?IMPORTID=" + IMPORTID, "ReqMgrPopUp");
               
                if (owin) {
                    owin.set_title("Blumen Message Wizard");
                    owin.setSize(1080, 600);
                    owin.set_visibleStatusbar(false);
                    owin.show();
                    owin.center();
                }
                else {
                    console.error("RadWindowManager is not initialized.");
                    console.log("RadWindowManager is found.");}
            }

Note: IMPORTID  is GUID like :37a0c19a-f376-43d7-8abb-d140bead043e

we try again, if the problem persists despite initial attempts, we notify to management its an outdated version

 

 

Rumen
Telerik team
commented on 01 May 2025, 01:06 PM

Thanks for the additional details.

From what you've shared, I can see that the Report function is being triggered via:

UbAjaxMngr.ResponseScripts.Add("Report('" + IMPORTID + "');");

This means the function is being called as soon as the AJAX request completes, which is good, but it also means it might still be running before the RadWindowManager is fully initialized on the client side – especially if the page load and scripts are not yet complete.

A few points and recommendations:

  1. Try using $find() to avoid relying on window.radopen.
    Even though you are calling window.radopen, it's safer to directly find the window by name using the RadWindowManager instance, as mentioned earlier. Here’s how you can modify your Report function:
    function Report(args) {
        alert("The data has been imported. Please continue to view the Import Report");
    
        var IMPORTID = args;
        var manager = $find("<%= rwmReqMgr.ClientID %>");
        if (manager) {
            var owin = manager.getWindowByName("ReqMgrPopUp");
            if (owin) {
                owin.setUrl("../../Reports/Pages/Script/frmScript_report.aspx?IMPORTID=" + IMPORTID);
                owin.set_title("Blumen Message Wizard");
                owin.setSize(1080, 600);
                owin.set_visibleStatusbar(false);
                owin.show();
                owin.center();
            } else {
                console.error("RadWindow with the name 'ReqMgrPopUp' not found.");
            }
        } else {
            console.error("RadWindowManager is not initialized.");
        }
    }
    This avoids the dependency on window.radopen, which can be undefined or problematic in certain browsers and setups.
  2. Check if the RadWindowManager is on the page at the time of your AJAX response.
    If your RadWindowManager is placed inside an UpdatePanel, note that sometimes controls inside UpdatePanels don't initialize properly on partial page updates. In that case, you might need to ensure:
  3. Double-check your RadWindowManager markup. Make sure this is not inside an UpdatePanel unless really necessary.
  4. Browser developer tools check.
    To confirm if the manager is loaded, inspect the rendered page source first in the DevTools console (F12) to find the actual ClientID that ASP.NET generated for radwindowmanager. It will look something like
<div id="ctl00_ContentPlaceholder1_RadWindowManager1" style="display:none;">
Then, in the browser console, manually type:

$find("ctl00_ContentPlaceholder1_RadWindowManager1")

This will allow you to confirm whether the RadWindowManager is properly initialized on the client side. If it returns null, it means the RadWindowManager hasn't been initialized yet or there’s a loading issue; if it returns an object, it’s working as expected.

Here is how to do it in this demo: https://demos.telerik.com/aspnet-ajax/window/examples/windowmanager/defaultcs.aspx, e.g.



Let me know if you're able to try the $find approach or if you can confirm whether the RadWindowManager is inside an UpdatePanel!

Tags
General Discussions
Asked by
Srinivas
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Srinivas
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or