I created my whole page as an SPA, all the links do Ajax calls and just refresh content areas. I have serious performance Issues with content areas that have Kendo widgets. With a lot of subsequent calls the app becomes slower and slower until it freezes. I checked whats happening and I see Kendo with each initalization adds <div> items to the bottom of the <body>, when my app changes the content area which is inside the body these divs stay and with each click they keep growing until they turn into a monster that kills the performance.
Is there some generic method to clean these up?
Is there some generic method to clean these up?