Base solution for your next web application
Open Closed

Datatable issue with css/js on page reload - css issue on pagination , suddenly appears searchbox and paging dropdown gets to the top #7044


User avatar
0
razkhan78 created

Hello we are using asp.net core2.1 and jQuery. We have used datatable in many of our pages and facing strange issue of lost css of datatable.min.css. see attached.

Below are the cases when we are seeing issue. Case 1: 1)Open page - datatable is fine 2)Hit F5 or click reload button on chrome - doing this 2nd or 3rd time causing css issue on pagination , suddenly appears searchbox and paging dropdown gets to the top. 3)If after seeing issue if again do reload it gets back to normal.

Case 2: 1)Open page 2) Go to different page from menu 3)Come back to same page from menu link and issue occurs( css issue on pagination , suddenly appears searchbox and paging dropdown gets to the top) & then only if you do ctrl+F5 then it seems to be gone.

Please let us know on this if it has something to do wih version of datatable.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Please follow this issue: https://github.com/aspnetzero/aspnet-zero-core/issues/2390