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

Rad Editor Issue

1 Answer 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mohammad
Top achievements
Rank 1
Mohammad asked on 07 Mar 2018, 10:04 AM

Please advise

Im using RadEditor, dll 2015

and have this error:

Uncaught TypeError: Cannot read property 'modeButtonsContainer' of undefined
    at c.RadEditor._getModeButtonsWrapper (ScriptResource.axd?d=ShRx8_PXUOW4gcbA-duY_wSu-krGlei5V9yCuOgtGKkhhj6Qmd-uOC6sRguCClwxaq6LO_oBjeAwhubMobfjSUX9q3nKWK-LrE6jkT4grWxE9Pkib7kVNn-kIYXLCZmRWsuyxaey4VjRz4HuIRle2Q2&t=112cd203:10119)
    at c.RadEditor._registerModeChangeHandler (ScriptResource.axd?d=ShRx8_PXUOW4gcbA-duY_wSu-krGlei5V9yCuOgtGKkhhj6Qmd-uOC6sRguCClwxaq6LO_oBjeAwhubMobfjSUX9q3nKWK-LrE6jkT4grWxE9Pkib7kVNn-kIYXLCZmRWsuyxaey4VjRz4HuIRle2Q2&t=112cd203:10120)
    at c.RadEditor.dispose (ScriptResource.axd?d=ShRx8_PXUOW4gcbA-duY_wSu-krGlei5V9yCuOgtGKkhhj6Qmd-uOC6sRguCClwxaq6LO_oBjeAwhubMobfjSUX9q3nKWK-LrE6jkT4grWxE9Pkib7kVNn-kIYXLCZmRWsuyxaey4VjRz4HuIRle2Q2&t=112cd203:9738)
    at _Application$disposeElement [as disposeElement] (ScriptResource.axd?d=0YuojD0FDpUdgDXZvn1N6gcGC2PQ8tSGF9aboCWtmieJ31tieolspZt9wT87smXT_u9A1NEYYP4EFhgl3KUDoWxqAr-DmgkPctQ2_pUbyDQvq96ZlLneZoFLJlkllX7zQbX9OwC10DtbpMbnB56Tgg2&t=34a51159:5811)
    at PageRequestManager$_updatePanel [as _updatePanel] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:1954)
    at PageRequestManager$_scriptIncludesLoadComplete [as _scriptIncludesLoadComplete] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:1804)
    at PageRequestManager.<anonymous> (ScriptResource.axd?d=0YuojD0FDpUdgDXZvn1N6gcGC2PQ8tSGF9aboCWtmieJ31tieolspZt9wT87smXT_u9A1NEYYP4EFhgl3KUDoWxqAr-DmgkPctQ2_pUbyDQvq96ZlLneZoFLJlkllX7zQbX9OwC10DtbpMbnB56Tgg2&t=34a51159:609)
    at ScriptResource.axd?d=0YuojD0FDpUdgDXZvn1N6gcGC2PQ8tSGF9aboCWtmieJ31tieolspZt9wT87smXT_u9A1NEYYP4EFhgl3KUDoWxqAr-DmgkPctQ2_pUbyDQvq96ZlLneZoFLJlkllX7zQbX9OwC10DtbpMbnB56Tgg2&t=34a51159:628
    at _ScriptLoader$_loadScriptsInternal [as _loadScriptsInternal] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:460)
    at _ScriptLoader$_nextSession [as _nextSession] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:476)

Regards

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 07 Mar 2018, 10:28 AM
Hi Mohammad,

The error shows that the reference to the Design, HTML and Preview button wrapper is undefined. I am not aware of what might cause such an error, but you can try the following:
- set the EditModes="Design" property
- set the RenderMode property to Lightweight
- upgrade to the latest version 2018.1.117 (see the instructions)
- if the above does not help, open a support ticket and provide a sample reproduction project with the error.

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