Ticket T661552
Visible to All Users

Script Registration Issues

created 7 years ago

Hi gang - I have been trying to get past these script issues for hours now. I read all your online articles relating to this issue but nothing has helped. I'm not sure what to try next - do you have any more information on this?

Here's the errors:

"Query script was attached multiple times and mixed up with DevExpress scripts."

And

"Please check the correctness of script registration on the page. For details, see https://www.devexpress.com/kbid=T272309. "

An image is also attached with the console output.

Thanks!
Craig

Show previous comments (2)
CJ CJ
Craig Johnson 4 7 years ago

    Ok thank you for your response. I will try to make a sample project… I have tried different jquery settings over and over and over and seems to be a common problem out there from all the searches I did. Wish there was an easier way to resolve this all with it being a problem so many people face.

    Thanks,
    Craig

    DevExpress Support Team 7 years ago

      Thank you, Craig. We are looking forward to your sample project.

      CJ CJ
      Craig Johnson 4 7 years ago

        Hi Larry - thanks for the response, sorry took me a while to get a database backup and things. So I have sample code and a database backup out here on my dropzone. Just need to restore the database and run the code.

        https://www.dropbox.com/sh/kk715x7w4pz2azu/AACTxbO46mf3cpFQxGJEkyQWa?dl=0

        The login is:
        u: wests@humancapital.com
        p: monitor2017!

        Here's the issues again attache din the zip - can't get the scripts to play nice together no matter what I do then I get the following popup when trying to sort or filter a column (among other issues).

        Thanks so much - let me know what else you need or if you have any questions.

        Thanks!
        Craig

        Answers approved by DevExpress Support

        created 6 years ago

        Hello,

        Thank you for the provided project. I have investigated it and found the following issues:

        1. jQuery scripts are attached multiple time in different views of your project. Moreover, part of them are added on the client side with the document.write method. So, I suggest you remove all these script definitions and make sure that jQuery scripts are not added anywhere after DevExpress scripts. Please refer to the Manual Integration into an Existing Project article for details.

        2. PivotGrid's partial views contain extra scripts that prevent callbacks from operating correctly. So, remove them to resolve this issue.
          Please refer to the Why DevExpress MVC extensions stop operating after the first callback KB article for more information.

        Should you have any further questions, feel free to contact us.

          Comments (2)
          CJ CJ
          Craig Johnson 4 6 years ago

            Hey Larry - so I removed all my other jquery and related script includes and renderings. I also did the following:

            <resources> <add type="ThirdParty" /> <add type="DevExtreme" /> </resources>
            I did read through those articles and tried to do things like it said but still not working. No errors in the console related to devX but the dialog is popping still (see attached).

            I out the latest here:
            https://www.dropbox.com/s/w63a0xp6hz7s6yu/AlmanacMainWeb_09-21-2018.zip?dl=0

            Would appreciate any help you can give. Have tried everything I can.

            Thanks!
            Craig

            DevExpress Support Team 6 years ago

              Hello,

              I've created a separate ticket on your behalf (T675483: Popup is with code from CSHTML partial view is shown after each operation in the pivot grid extension). It has been placed in our processing queue and will be answered shortly.

              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.