Changes to FlexGrid in code not reflected in browser

Posted by: lxrp-bst on 28 February 2021, 1:31 pm EST

    • Post Options:
    • Link

    Posted 28 February 2021, 1:31 pm EST

    Hi,

    I am using ASP.NET CORE 3.1 MVC and finding that when I change the FlexGrid on the server those changes aren’t being reflected in the browser unless I launch an incognito/private session.

    I’ve been investigating by changing one header from ‘Document No’ to ‘Document No TEST’. As you will see from the attached screenshots the ‘TEST’ is appearing fine in Private mode but not in a regular session

    I’ve looked into the HTTPS response in the normal session developer tools and discovered that the CORRECT header seems to be coming down from the server, but isn’t being rendered by the browser.

    {"width":400,"quickAutoSize":true,"align":"left","binding":"TeamBinderDocumentNumber","header":"Document No TEST"}
    

    Am I missing something? Any ideas how to fix this, as its causing mayhem in testing where I push new code to the cloud but my testers keep saying they can’t see the changes!

    I’m using the latest versions of everything.

  • Posted 28 February 2021, 8:34 pm EST

    Hi,

    It seems the issue is related to the browser cache. Please ask your developer to clear the hard reload the browser using the Ctrl+F5(Chrome in windows). Alternate, you may open the Chrome developer tools and click on Disable cache. And check if the issue occurs. Since we are unable to replicate the issue at our end.

    Regards,

    Manish Gupta

  • Posted 2 March 2021, 11:02 am EST

    Turns out it was because I was using this code https://www.grapecity.com/componentone/docs/mvc/online-mvc-core/SaveandLoadColumnLayout.html to save form layout and it was refreshing the old layout (including columns which no longer exist) on reload. I can clear it with Developer Tools->Application->Clear Site Data

  • Posted 2 March 2021, 2:24 pm EST

    Hi,

    Thank you for notifying me that your issue has been resolved and also for sharing the issue cause you were facing.

    Regards,

    Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels