Completed
Last Updated: 18 Feb 2025 14:23 by ADMIN
Release 2025 Q1 Licensing Hotfix (18.02.2025)
Aurel Constantinescu
Created on: 14 Feb 2025 15:06
Category: UI for ASP.NET AJAX
Type: Bug Report
1
RadWindow throws Uncaught TypeError: Cannot read properties of undefined (reading 'parentElement')

Upgrading Telerik UI for ASP.NET AJAX to version 2025 Q1 (2025.1.211) throw a JavaScript error:

  • Uncaught TypeError: Cannot read properties of undefined (reading 'parentElement')

Steps to reproduce: Have a RadWindow with NavigateUrl set to a different page:

<telerik:RadWindow ID="RadWindow1" runat="server" RenderMode="Classic" VisibleOnPageLoad="true" NavigateUrl="Default.aspx">
</telerik:RadWindow>

3 comments
ADMIN
Vasko
Posted on: 18 Feb 2025 14:23

Hello Roudolf,

We have released a service pack that addresses the issues. The latest update is available and you can install it via the Control Panel or download it manually from the AJAX Downloads page.

I hope you enjoy the updates! Feel free to reach out and keep me posted.

Regards,
Vasko
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
Roudolf
Posted on: 18 Feb 2025 12:31
not working anyway(
ADMIN
Vasko
Posted on: 14 Feb 2025 15:52

Hello Aurel,

Thank you for reporting the issue!

We have looked into this problem and we found that some of the new changes did not take the RenderMode into consideration.

The problems seems to appear when the RenderMode of the Window set to Classic and loading the content through the NavigateUrl. We found a fix for this problem and will be released in a hot fix at the beginning of next week. 

Workaround

Until the issue is resolved, please use the following workaround:

Add the following JavaScript code anywhere after the ScriptManager declaration:

<script> (function ($) { try { var $T = Telerik.Web.UI; var original_window_createUI = $T.RadWindow.prototype._createUI;

$T.RadWindow.prototype._createUI = function () { original_window_createUI.call(this); this._contentElement = this._contentElement || this._contentCell; } } catch (e) { } })($telerik.$); </script>

We apologize for any inconvenience this may have caused.

Regards,
Vasko
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