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

HierarchyRequestError

1 Answer 72 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
James Daresta
Top achievements
Rank 1
James Daresta asked on 06 Mar 2017, 09:17 PM

I having a random problem recently with the last Q4 ASP.NET Ajax library. On occasion I get the following error. It seems to happen when one is editing the editor. I am posting here because the error message specifically mentions my script manager.

Message: HierarchyRequestError

URL: https://salescrm.olincorp.net/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_rsmMainScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a4d4da635-3815-4b70-912b-f389ade5df37%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a19b52502-df64-4cc0-aea9-c7e50aa82eb1%3a16e4e7cd%3af7645509%3a22a6274a%3a33715776%3a4877f69a%3a86526ba7%3aed16cbdc%3a88144a7a%3a24ee1bba%3ae330518b%3a2003d0b8%3ac128760b%3a1e771326%3ac8618e41%3a1a73651d%3a333f8d94%3acb4a7569%3a30f1f089%3ab2e06756%3a92fe8ea0%3afa31b949%3a874f8ea2%3a19620875%3af46195d3%3a490a9d4e%3a6d43f6d9%3ab7778d6c%3aaa288e2d%3a258f1c72%3ae085fe68%3a63b115ed%3a3856fd9f%3adc7e0bd%3a1569bb5f%3addbfcb67%3abd8f85e4

Line Number: 23595

 

Not sure it matters, but for my editors i have the following client script that has been in place for a while. I have been unsuccessful in tracking this issue down.

Telerik.Web.UI.Editor.CommandList.AjaxSpellCheck = function (commandName, editor) {
     var spell = $find('<%= radspellSpellChecker.ClientID %>');
     spell.spellCheck(new PrometheusTextSource(editor));
     return false;
 }
 
 var PrometheusTextSource = function (editor) {
     this._editor = editor;
     this.get_text = function () { return this._editor.get_html(); };
     this.set_text = function (value) { this._editor.set_html(value); };
 }
 
 function OnEditorLoad(editor, args) {
     editor.oldValue = editor.get_html(true);
     var element = document.all ? editor.get_document().body : editor.get_document();
     $telerik.addExternalHandler(element, "blur", function (e) { var ed = editor; var newValue = ed.get_html(true); if (ed.oldValue != newValue) Master_SetFormChanged(); });
 }
 
 function OnClientModeChange(sender, args) {
     if (sender.get_mode() == 4) // Checking the mode, where mode 4 is Preview 
     {
         sender.get_toolContainer().style.display = "none"; // Hide ToolBar 
     }
     else {
         sender.get_toolContainer().style.display = "block"; // Show ToolBar 
     }
 }

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Mar 2017, 12:38 PM

Hello James,

The only known reason for the HierarchyRequestError error is when the RenderMode property of RadEditor is set to Lightweight and ToolbarMode is RibbonBar. Can you check whether this is the case at your end?

If this is causing the issue upgrade to the latest version R1 2017 SP1 (2017.1.228) and test again.

If the problem still persists, please provide reliable reproduction steps on how to reproduce it on our end.

Best regards,
Rumen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ScriptManager and StyleSheetManager
Asked by
James Daresta
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or