Bug Report T315410
Visible to All Users

ASPxHtmlEditor - "Cannot read property 'replace' of undefined" error occurs when a page contains ASPxMenu with EnableCallBacks=true

created 9 years ago (modified 9 years ago)

Sample project with a screencast is attached.

Stack trace:

JavaScript
Str.ApplyReplacement (DXR.axd?r=1_225…3,4_46,4_…:582) Str.EncodeHtml (DXR.axd?r=1_225…3,4_46,4_…:595) ASPx.CreateClass.UpdateStateObject (DXR.axd?r=1_225…4_46,4_…:31527) ASPx.CreateClass.OnPost (DXR.axd?r=1_225…,4_46,4_…:4460) (anonymous function) (DXR.axd?r=1_225…,4_46,4_…:3931) ASPx.CreateClass.ForEachControl (DXR.axd?r=1_225…,4_46,4_…:3735) ASPx.CreateClass.OnPost (DXR.axd?r=1_225…,4_46,4_…:3930) (anonymous function) (DXR.axd?r=1_225…,4_46,4_…:3783) (anonymous function) (DXR.axd?r=1_225…,4_46,4_…:3497) ASPx.CreateClass.FireEvent (DXR.axd?r=1_225…,4_46,4_…:3612) ASPx.CreateClass.ProcessPostRequest (DXR.axd?r=1_225…,4_46,4_…:5563) aspxRaisePostHandlerOnPost (DXR.axd?r=1_225…,4_46,4_…:5682) (anonymous function) (DXR.axd?r=1_225…,4_46,4_…:5591) ASPx.CreateClass.FireEvent (DXR.axd?r=1_225…,4_46,4_…:3612) ASPx.CreateClass.Before_WebForm_InitCallback (DXR.axd?r=1_225…,4_46,4_…:3892) ASPx.CreateClass.DoBeginCallback (DXR.axd?r=1_225…,4_46,4_…:5145) ASPx.CreateClass.CreateCallbackInternal (DXR.axd?r=1_225…,4_46,4_…:5191) ASPx.CreateClass.AfterInitialize (DXR.axd?r=1_225…,4_46,4_…:4217) (anonymous function) (DXR.axd?r=1_225…,4_46,4_…:3824) ASPx.CreateClass.ForEachControl (DXR.axd?r=1_225…,4_46,4_…:3735) ASPx.CreateClass.AfterInitializeElements (DXR.axd?r=1_225…,4_46,4_…:3822) ASPx.CreateClass.InitializeElements (DXR.axd?r=1_225…,4_46,4_…:3803) ASPx.CreateClass.Initialize (DXR.axd?r=1_225…,4_46,4_…:3785) aspxClassesWindowOnLoad (DXR.axd?r=1_225…,4_46,4_…:5473)

Answers approved by DevExpress Support

created 9 years ago

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.